diff options
author | Vaibhav Bedia <vaibhav.bedia@ti.com> | 2011-02-09 13:09:53 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-02-09 22:33:16 (GMT) |
commit | eef6d7b8c24e8dd5af6094ef453a05c80b68d36e (patch) | |
tree | 77a1690881491f6b256ee6fb93d20b466720cce8 /sound/soc/au1x | |
parent | d852f446b71b80c59821a08cdb595aa266210daf (diff) | |
download | linux-eef6d7b8c24e8dd5af6094ef453a05c80b68d36e.tar.xz |
ASoC: Davinci: Call clk_disable() and clk_put() in case of error
In case of any error in probe() function, clk_disable() and clk_put()
should be called if clk_enable() and clk_get() went through.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x')
0 files changed, 0 insertions, 0 deletions