]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: correct M-Audio C400 clock source quirk
authorEldad Zack <eldad@fogrefinery.com>
Sun, 13 Jan 2013 22:02:02 +0000 (23:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jan 2013 09:05:57 +0000 (10:05 +0100)
commitbbb60c16a499f0ddf993007f4e47c929e25a63fb
treef263bf35146679c2c3be699ecea475f1e81fa712
parentf69619d6ebbb2fee0f43ed508cfa3ed619a1d4ee
ALSA: usb-audio: correct M-Audio C400 clock source quirk

Taking another look at the C400 descriptors, I see now that there is
a clock selector (0x80) for this device.
Right now, the clock source points to the internal clock (0x81), which
is also valid. When the external clock source (0x82) is selected in the
mixer, and the rates mismatch (if it's free-running it is fixed to
48KHz), xruns will occur.

Set the clock ID to the clock selector unit (0x81), which then
allows the validation code to function correctly.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h