From: Lars-Peter Clausen Date: Mon, 22 Sep 2014 22:56:28 +0000 (+0200) Subject: ASoC: Remove locking in snd_soc_{new,free}_ac97_codec() X-Git-Tag: omap-for-v3.19/prcm-cleanup~125^2~8^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f205a72c45;p=pandora-kernel.git ASoC: Remove locking in snd_soc_{new,free}_ac97_codec() snd_soc_new_ac97_codec() and snd_soc_free_ac97_codec() are called from within a CODEC's probe() and remove() callbacks. Those will not run concurrently against each other for the same CODEC instance, hence it is not necessary to protect the two functions with a mutex. This removes the last user in the ASoC core of the snd_soc_codec mutex field and will allow us to eventually remove it. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed