]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: usb: Use BIT() for bit values
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Jul 2024 12:36:45 +0000 (14:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Jul 2024 14:06:22 +0000 (16:06 +0200)
commite54dc34318f62bdeea7edefed386d47fae155618
tree961caba3f7594aae33bb7f3ea80d58b1c3d902e0
parent2f38cf730caedaeacdefb7ff35b0a3c1168117f9
ALSA: usb: Use BIT() for bit values

Instead of the explicit "1 << x", use BIT() macro for one bit values.
This will improve the readability and also avoids the possible bad
value for 31bit shift.

Link: https://patch.msgid.link/20240715123646.26679-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/format.c
sound/usb/mixer.c
sound/usb/mixer_quirks.c