ALSA: bebob: Fix failure to detect source of clock for Terratec Phase 88
authorTakashi Sakamoto <[email protected]>
Fri, 10 Oct 2014 14:32:49 +0000 (23:32 +0900)
committerTakashi Iwai <[email protected]>
Fri, 10 Oct 2014 15:25:30 +0000 (17:25 +0200)
commit3f4032861cfbff0b9134bf94c5c92e2146d1f068
treeb2cd2577b6309e46eae2994b6b6c03d5caf9b66f
parentfd1a2a90d08b0052fa52bd36cebd0592c9e537c2
ALSA: bebob: Fix failure to detect source of clock for Terratec Phase 88

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 <[email protected]>
Tested-by: András Murányi <[email protected]>
Cc: <[email protected]> # v3.16+
Signed-off-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/firewire/bebob/bebob_terratec.c