]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: usb-audio: allow clock source validity interrupts
authorDaniel Mack <daniel@zonque.org>
Fri, 8 Apr 2016 17:52:02 +0000 (19:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Apr 2016 15:22:40 +0000 (17:22 +0200)
commit191227d99a281333b50aaf82ab4152fbfa249c19
treebfd8781be44a08aa02600c6aa066faeb9b21b163
parentcddaafb9a4a7b6d19030d2632107ba2aa068474d
ALSA: usb-audio: allow clock source validity interrupts

miniDSP USBStreamer UAC2 devices send clock validity changes with the
control field set to zero. The current interrupt handler ignores all
packets if the control field does not match the mixer element's, but
it really should only do that in case that field is needed to
distinguish multiple elements with the same ID.

This patch implements a logic that lets notifications packets pass
if the element ID is unique for a given device.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c