summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/n810.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-08-17 12:28:09 +0200
committerTakashi Iwai <tiwai@suse.de>2009-08-17 12:48:21 +0200
commit18dd0aa5afea7dc33953aa87de696e39074bbf78 (patch)
tree59c3304f340c8ba180002c99c8961b388bf84fb0 /sound/soc/omap/n810.c
parentsound: snd_ctl_remove_unlocked_id: simplify user control counting (diff)
downloadlinux-18dd0aa5afea7dc33953aa87de696e39074bbf78.tar.xz
linux-18dd0aa5afea7dc33953aa87de696e39074bbf78.zip
sound: snd_ctl_remove_user_ctl: prevent removal of kernel controls
Ensure that userspace can remove only user controls. Controls created by kernel drivers must not be removed because they might be referenced in calls to snd_ctl_notify(). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/omap/n810.c')
0 files changed, 0 insertions, 0 deletions