aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r--sound/soc/sh/fsi.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 88e5df474ccf..8869971d7884 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -842,12 +842,9 @@ static int fsi_clk_disable(struct device *dev,
842 return -EINVAL; 842 return -EINVAL;
843 843
844 if (1 == clock->count--) { 844 if (1 == clock->count--) {
845 if (clock->xck) 845 clk_disable(clock->xck);
846 clk_disable(clock->xck); 846 clk_disable(clock->ick);
847 if (clock->ick) 847 clk_disable(clock->div);
848 clk_disable(clock->ick);
849 if (clock->div)
850 clk_disable(clock->div);
851 } 848 }
852 849
853 return 0; 850 return 0;