]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Remove unneeded mutex_init in wl1273_probe()
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Sep 2011 05:10:57 +0000 (13:10 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 23 Sep 2011 10:54:24 +0000 (11:54 +0100)
commitcd735c613db46aec18c35ae39861d3c82540acdc
tree32169ad67d01e3d4ee746e5f41c53107b59a2ed8
parent3206811d655a9747d3baeac44460557ea7ae3671
ASoC: Remove unneeded mutex_init in wl1273_probe()

Since 41912c7f "ASoC: multi-component - ASoC Multi-Component Support",
snd_soc_register_codec() now does all the codec list and mutex init.
Thus don't need to call mutex_init(&codec->mutex) in wl1273_probe() any more.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wl1273.c