From: Daniel Mack Date: Mon, 31 May 2010 11:35:37 +0000 (+0200) Subject: ALSA: usb-audio: support partially write-protected UAC2 controls X-Git-Tag: v2.6.35-rc2~41^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a3325913efbe35a10e87fd3e9c3ce621fd32c7;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed