]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2
authorGregor Pintar <grpintar@gmail.com>
Mon, 20 Apr 2020 21:40:30 +0000 (23:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2020 05:58:54 +0000 (07:58 +0200)
commit3dc54be559bff66be0513b8cb437277c7a83c012
treeb78e7deaffe846a8a078b45001aed7f54d6601c1
parent940824369916f0623f3f918dddec48d200b7ffaa
ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2

Force it to use asynchronous playback.

Same quirk has already been added for Focusrite Scarlett Solo (2nd gen)
with a commit 060910e2a1d6 ("ALSA: usb-audio: Add quirk for Focusrite
Scarlett Solo").

This also seems to prevent regular clicks when playing at 44100Hz
on Scarlett 2i2 (2nd gen). I did not notice any side effects.

Moved both quirks to snd_usb_audioformat_attributes_quirk() as suggested.

Signed-off-by: Gregor Pintar <grpintar@gmail.com>
Reviewed-by: Alexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20200420214030.2361-1-grpintar@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h
sound/usb/quirks.c