]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000
authorAlexander Tsoy <alexander@tsoy.me>
Wed, 12 Feb 2020 23:54:50 +0000 (02:54 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Feb 2020 06:18:58 +0000 (07:18 +0100)
commit4fc379ba8a2bdc1ab07c6eaedaee3cfdb6cb2314
tree1ffef5c48450fb4a9f9bb25df46e4cf28288f973
parentfa106f1e2808f30f80f8c4d535b5f5e152415679
ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000

It should be safe to ignore clock validity check result if the following
conditions are met:
 - only one single sample rate is supported;
 - the terminal is directly connected to the clock source;
 - the clock type is internal.

This is to deal with some Denon DJ controllers that always reports that
clock is invalid.

Tested-by: Tobias Oszlanyi <toszlanyi@yahoo.de>
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200212235450.697348-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/clock.h
sound/usb/format.c