ASoC: rsnd: call rsnd_dai_pointer_update() from outside of lock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 23 Apr 2014 05:59:12 +0000 (14:59 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:21 +0000 (09:21 +0900)
commit65a016d2d42f36fa39f0ada3ae9cdd75ad4ffc13
tree98ace315863f560f72dc198ece041d101c37f16c
parentab825b9320b38e71e698115eab541664c996e7f4
ASoC: rsnd: call rsnd_dai_pointer_update() from outside of lock

rsnd_soc_dai_trigger() will be called
after rsnd_dai_pointer_update() function
which is using rsnd_lock().
Thus, it should be called from outside of rsnd_lock().
Kernel will be hangup without this patch.
Special thanks to Kataoka-san

Reported-by: Ryo Kataoka <ryo.kataoka.wt@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 836b31fe1a9791d84ed95783ed42ebd5719f7918)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/core.c