ASoC: rsnd: fix clock prepare/unprepare
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 11 Apr 2014 01:16:33 +0000 (18:16 -0700)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:21 +0000 (09:21 +0900)
commitab825b9320b38e71e698115eab541664c996e7f4
tree5eb2165dd34e9beea49ecbd7cb13b4ed13eef908
parent522cdbdd00192011203db73c17c7ea0d45a84063
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