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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:11 +0000 (11:13 +0100)
commit5944a5ef09ae879c891c8021c6cd78fb26038916
tree89df44b8cae92f1580f4f954bef2602b71e91866
parent0418aad4ca52126f51294682d34c79c57adf9816
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