From: Clemens Ladisch Date: Mon, 17 Aug 2009 10:28:09 +0000 (+0200) Subject: sound: snd_ctl_remove_user_ctl: prevent removal of kernel controls X-Git-Tag: v2.6.32-rc1~732^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18dd0aa5afea7dc33953aa87de696e39074bbf78;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed