linux-uconsole/sound/firewire/bebob
Takashi Sakamoto 6921b16099 ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
commit 706ad6746a upstream.

For Focusrite Saffire Pro i/o, the lowest 8 bits of register represents
configured source of sampling clock. The next lowest 8 bits represents
whether the configured source is actually detected or not just after
the register is changed for the source.

Current implementation evaluates whole the register to detect configured
source. This results in failure due to the next lowest 8 bits when the
source is connected in advance.

This commit fixes the bug.

Fixes: 25784ec2d0 ("ALSA: bebob: Add support for Focusrite Saffire/SaffirePro series")
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191102150920.20367-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:20:34 +01:00
..
bebob.c ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56 2019-03-19 13:12:41 +01:00
bebob.h ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
bebob_command.c ALSA: firewire-lib/bebob/oxfw: improve response evaluation for AV/C commands 2017-04-05 21:37:23 +02:00
bebob_focusrite.c ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series 2019-11-12 19:20:34 +01:00
bebob_hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
bebob_maudio.c ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path 2018-09-17 13:36:54 +02:00
bebob_midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
bebob_pcm.c ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
bebob_proc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
bebob_stream.c ALSA: bebob: Fix prototype of helper function to return negative value 2019-11-06 13:06:14 +01:00
bebob_terratec.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
bebob_yamaha_terratec.c ALSA: firewire: add const qualifier to identifiers for read-only symbols 2017-08-22 16:08:00 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00