summaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.h
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2020-02-13 00:54:50 +0100
committerTakashi Iwai <tiwai@suse.de>2020-02-13 07:18:58 +0100
commit9f35a31283775e6f6af73fb2c95c686a4c0acac7 (patch)
tree1ffef5c48450fb4a9f9bb25df46e4cf28288f973 /sound/usb/clock.h
parentALSA: hda/realtek - Fix silent output on MSI-GL73 (diff)
downloadlinux-9f35a31283775e6f6af73fb2c95c686a4c0acac7.tar.xz
linux-9f35a31283775e6f6af73fb2c95c686a4c0acac7.zip
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>
Diffstat (limited to 'sound/usb/clock.h')
-rw-r--r--sound/usb/clock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/clock.h b/sound/usb/clock.h
index 076e31b79ee0..68df0fbe09d0 100644
--- a/sound/usb/clock.h
+++ b/sound/usb/clock.h
@@ -6,7 +6,7 @@ int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
struct usb_host_interface *alts,
struct audioformat *fmt, int rate);
-int snd_usb_clock_find_source(struct snd_usb_audio *chip, int protocol,
- int entity_id, bool validate);
+int snd_usb_clock_find_source(struct snd_usb_audio *chip,
+ struct audioformat *fmt, bool validate);
#endif /* __USBAUDIO_CLOCK_H */