linux/sound/firewire/bebob
Colin Ian King 36d1a6729b ALSA: bebob: Fix bit flag quirk constants
The quirking bit-flags are currently set as contiguous integer enum values
and so currently SND_BEBOB_QUIRK_INITIAL_DISCONTINUOUS_DBC is zero and so
he quirking never getting set or tested correctly for this quirk. Fix this
by setting the quirking constants as shifted bit values.

Addresses-Coverity: ("Bitwise-and with zero")
Fixes: 93cd12d6e8 ("ALSA: bebob: code refactoring for model-dependent quirks")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210615142048.59900-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-16 08:53:24 +02:00
..
bebob_command.c ALSA: bebob: detect the number of available MIDI ports 2021-03-22 12:22:27 +01:00
bebob_focusrite.c ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series 2019-11-04 09:03:06 +01:00
bebob_hwdep.c ALSA: bebob: remove an unnecessary condition in hwdep_read() 2021-01-26 07:31:13 +01:00
bebob_maudio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
bebob_midi.c ALSA: bebob: share PCM buffer size for both direction 2019-10-18 04:35:43 +02:00
bebob_pcm.c ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
bebob_proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
bebob_stream.c ALSA: bebob: code refactoring for model-dependent quirks 2021-06-11 10:30:16 +02:00
bebob_terratec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
bebob_yamaha_terratec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
bebob.c ALSA: bebob: correct device entries for Phonic Helix Board and FireFly series 2021-06-12 09:33:35 +02:00
bebob.h ALSA: bebob: Fix bit flag quirk constants 2021-06-16 08:53:24 +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