ALSA: usb-audio: Add quirk for Focusrite Scarlett Solo
authorRoope Salmi <rpsalmi@gmail.com>
Sun, 14 Apr 2019 11:13:06 +0000 (14:13 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Apr 2019 09:37:27 +0000 (11:37 +0200)
commit46f5710f0b8829882faea735149d86250db5d0e5
tree7543e6801491c933e14fb217294a23fdf5776531
parente61ab9f017493ef42f0374a578b2758c30f41f74
ALSA: usb-audio: Add quirk for Focusrite Scarlett Solo

The device reports Synch: Synchronous on the playback interface.
This causes regular audible napping on sample rates that are not multiples
of 1 kHz. Fix to Synch: Asynchronous.

Specifically observed on Focusrite Scarlett Solo 2nd generation. I assume
the first generation model has a different device ID. A first generation
Scarlett 2i2 I was able to test advertised Synch: Asynchronous by default.

For example, with a sample rate of 44100 Hz, a silent sample is played
every 40.96 seconds (likely 44.0 samples instead of 44.1 transmitted per
USB frame on average, 4096 being the size of some internal buffer).
There may be some other bug at play here since this doesn't happen
on other platforms. However, a feedback endpoint is listed and using it
fixes the issue. That is the only change in the quirk,
but I didn't find a way to declare only it.

Tested on two units and on two different computers.

Signed-off-by: Roope Salmi <rpsalmi@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h