summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-05-31 13:35:37 +0200
committerTakashi Iwai <tiwai@suse.de>2010-05-31 18:15:57 +0200
commita6a3325913efbe35a10e87fd3e9c3ce621fd32c7 (patch)
tree4b3300083115516ff8fff200da4d4300dea3b853 /mm
parentdcbe7bcfa32c5bc4f9bb6c75d4d41bb4db8c36fc (diff)
downloadlinux-3.10-a6a3325913efbe35a10e87fd3e9c3ce621fd32c7.tar.gz
linux-3.10-a6a3325913efbe35a10e87fd3e9c3ce621fd32c7.tar.bz2
linux-3.10-a6a3325913efbe35a10e87fd3e9c3ce621fd32c7.zip
ALSA: usb-audio: support partially write-protected UAC2 controls
So far, UAC2 controls are marked read-only if any of the channels are marked read-only in the descriptors. Change this behaviour and - mark them writeable unless all channels are read-only - store the read-only mask in usb_mixer_elem_info and - check the mask again in set_cur_mix_value(), and bail out for write-protected channels. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions