ASoC: rsnd: fix clock prepare/unprepare
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 11 Apr 2014 01:16:33 +0000 (18:16 -0700)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:10 +0000 (11:13 +0100)
commit0418aad4ca52126f51294682d34c79c57adf9816
tree7906baddaae3fa8fb4ecc4c98225f21709db1126
parent04f0f4f57a142e5f3c8c888bb58d625954c89983
ASoC: rsnd: fix clock prepare/unprepare

As with the previous commit, before a clock can be used it must be prepared
for use. Change from clk_enable() and clk_disable() to the versions of the
calls which also prepare and un-prepare the clocks.

Will fix warnings from the clock code when this is used.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 79861bbb759053a9b91026becc0915d0f1f8d37d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c