From: Liu Ying Date: Fri, 18 Jan 2013 08:30:40 +0000 (+0800) Subject: ENGR00240740-2 ARM:IPUv3:Add an interface to disable IPU hsp clk X-Git-Tag: v3.0.35-fsl~146 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=97ab31c15a010ef5f487cb73cc4cd9aff168d2b3;p=karo-tx-linux.git ENGR00240740-2 ARM:IPUv3:Add an interface to disable IPU hsp clk This patch adds an interface to disable IPU hsp clock so that it can be called out of ipu common driver. Signed-off-by: Liu Ying (cherry picked from commit 78f0495e79f3b18d3f56ac8bf6ca76a5cea91cf5) --- diff --git a/arch/arm/plat-mxc/include/mach/ipu-v3.h b/arch/arm/plat-mxc/include/mach/ipu-v3.h index fb9dc383e023..d5ee6afce838 100755 --- a/arch/arm/plat-mxc/include/mach/ipu-v3.h +++ b/arch/arm/plat-mxc/include/mach/ipu-v3.h @@ -587,6 +587,7 @@ struct ipu_soc; struct ipu_soc *ipu_get_soc(int id); int32_t ipu_init_channel(struct ipu_soc *ipu, ipu_channel_t channel, ipu_channel_params_t *params); void ipu_uninit_channel(struct ipu_soc *ipu, ipu_channel_t channel); +void ipu_disable_hsp_clk(struct ipu_soc *ipu); static inline bool ipu_can_rotate_in_place(ipu_rotate_mode_t rot) {