ALSA: usb-audio: UAC2: try to find and switch to valid clock
authorEldad Zack <eldad@fogrefinery.com>
Wed, 3 Apr 2013 21:18:55 +0000 (23:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Apr 2013 06:31:14 +0000 (08:31 +0200)
commit8c55af3f69be6021631628b968cad301d3f294c8
tree049cd4e6cc4aa6c5fb7143d719fecee2f6c93025
parent06ffc1ebddbed88662a47646ff6aa6a2b41f0aec
ALSA: usb-audio: UAC2: try to find and switch to valid clock

If a selector is available on a device, it may be pointing to a
clock source which is currently invalid.
If there is a valid clock source which can be selected, switch
to it.

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