linux_dsm_epyc7002/sound
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
..
aoa
arm
atmel
core Merge branch 'for-linus' into for-next 2013-03-18 11:04:42 +01:00
drivers ALSA: add/change some comments describing function return values 2013-03-12 08:32:53 +01:00
firewire
i2c
isa
mips
oss sound: oss: sb_common: Used kmemdup instead of kmalloc and memcpy 2013-04-02 11:23:00 +02:00
parisc
pci Merge branch 'for-linus' into for-next 2013-04-03 17:07:29 +02:00
pcmcia
ppc
sh
soc Merge remote-tracking branch 'asoc/fix/spear' into asoc-next 2013-03-26 14:08:07 +00:00
sparc
spi
synth
usb ALSA: usb-audio: UAC2: support read-only freq control 2013-04-04 08:32:07 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c ALSA: add/change some comments describing function return values 2013-03-12 08:32:53 +01:00
sound_firmware.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00