]> git.hungrycats.org Git - linux/commit
ALSA: bebob: Fix failure to detect source of clock for Terratec Phase 88
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 10 Oct 2014 14:32:49 +0000 (23:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:11 +0000 (09:43 -0700)
commit0608517bdd061083b20e7046758ce8a23c36103b
treefe86f372ede3acc5e8924b1fbc8bce3ce43a1738
parentae1b5d01ad58519df51a9f04727ab26ecbb6d495
ALSA: bebob: Fix failure to detect source of clock for Terratec Phase 88

commit 3f4032861cfbff0b9134bf94c5c92e2146d1f068 upstream.

This patch fixes a failure to open PCM device with -ENOSYS in
Terratec Phase 88.

Terratec Phase 88 has two Selector Function Blocks of AVC Audio subunit
to switch source of clock. One is to switch internal/external for the
source and another is to switch word/spdif for the external clock.

The IDs for these Selector Function Blocks are 9 and 8. But in current
implementation they're 0 and 0.

Reported-by: András Murányi <muranyia@gmail.com>
Tested-by: András Murányi <muranyia@gmail.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/bebob/bebob_terratec.c