original_kernel/sound/usb
Eldad Zack 1dc669fed6 ALSA: usb-audio: UAC2: support read-only freq control
Some clocks might be read-only, e.g., external clocks (see also
UAC2 4.7.2.1).

In this case, setting the sample frequency will always fail
(even if the rate is equal to the current clock rate),
therefore do not write, but read the value and compare to the
requested rate.
If the clock is read only, avoid reading it twice.

If it doesn't match, return -ENXIO since the clock is invalid for
this configuration.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-04 08:32:07 +02:00
..
6fire
caiaq
misc
usx2y
Kconfig
Makefile
card.c ALSA: usb-audio: UAC2: auto clock selection module param 2013-04-04 08:31:32 +02:00
card.h
clock.c ALSA: usb-audio: UAC2: support read-only freq control 2013-04-04 08:32:07 +02:00
clock.h ALSA: usb-audio: UAC2: do clock validity check earlier 2013-04-04 08:30:59 +02:00
debug.h
endpoint.c ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
endpoint.h ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
format.c ALSA: usb-audio: UAC2: do clock validity check earlier 2013-04-04 08:30:59 +02:00
format.h ALSA: snd-usb: handle the bmFormats field as unsigned int 2013-03-18 08:47:04 +01:00
helper.c
helper.h
midi.c ALSA: usb-audio: neaten EXPORT_SYMBOLS placement 2013-04-04 08:30:24 +02:00
midi.h
mixer.c ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls() 2013-03-20 08:43:00 +01:00
mixer.h
mixer_maps.c
mixer_quirks.c
mixer_quirks.h
pcm.c ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
pcm.h
power.h
proc.c ALSA: usb-audio: convert list_for_each to entry variant 2013-04-04 08:30:06 +02:00
proc.h
quirks-table.h ALSA: usb-audio: Trust fields given in the quirk 2013-03-18 08:46:37 +01:00
quirks.c ALSA: usb-audio: Trust fields given in the quirk 2013-03-18 08:46:37 +01:00
quirks.h
stream.c ALSA: usb-audio: convert list_for_each to entry variant 2013-04-04 08:30:06 +02:00
stream.h
usbaudio.h ALSA: usb-audio: UAC2: auto clock selection module param 2013-04-04 08:31:32 +02:00