diff options
author | Robby Cai <R63905@freescale.com> | 2012-07-09 14:05:59 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2012-07-10 14:22:15 +0800 |
commit | 28ffa743accbbb13057cd89876c7d46cb6bd8c0b (patch) | |
tree | 19af2204e1624e2a6822e1f481ff2fb7924ee519 /drivers/video/mxc/mxc_spdc_fb.c | |
parent | 9cf4973c27e7bec1b4cc9610b4a5d7f22d081b50 (diff) |
ENGR00216010-3: spdc: Make clock enable/disable paired for PIX and AXIimx-android-r13.5-alpha
Really disable pix/axi clock when SPDC is idle.
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'drivers/video/mxc/mxc_spdc_fb.c')
-rw-r--r-- | drivers/video/mxc/mxc_spdc_fb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxc_spdc_fb.c b/drivers/video/mxc/mxc_spdc_fb.c index 8226dc724e3e..19cbcb571ce5 100644 --- a/drivers/video/mxc/mxc_spdc_fb.c +++ b/drivers/video/mxc/mxc_spdc_fb.c @@ -770,6 +770,9 @@ spdc_fb_fw_handler(const struct firmware *fw, void *context) } clk_set_rate(fb_data->spdc_clk_pix, rounded_pix_clk); + /* Disable clocks */ + clk_disable(fb_data->spdc_clk_axi); + clk_disable(fb_data->spdc_clk_pix); if (!spdc_init_sequence(fb_data)) return; |