summaryrefslogtreecommitdiffstats
path: root/sound/firewire/motu
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-15 15:20:48 +0100
committerTakashi Iwai <tiwai@suse.de>2021-06-16 08:53:24 +0200
commit36d1a6729be5b0d784f632aa1fd1fd11511e11c0 (patch)
treecd0d300d19019f5a0710b7cdc40ec7bd1c2bade5 /sound/firewire/motu
parent80b9c1be567c3c6bbe0d4b290af578e630485b5d (diff)
downloadlinux-36d1a6729be5b0d784f632aa1fd1fd11511e11c0.tar.bz2
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: 93cd12d6e88a ("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>
Diffstat (limited to 'sound/firewire/motu')
0 files changed, 0 insertions, 0 deletions