From: Wayne Zou Date: Tue, 12 Jun 2012 07:02:42 +0000 (+0800) Subject: ENGR00213158-4 IPU: remove in_interrupt() check in _ipu_get/_ipu_put X-Git-Tag: v3.0.35-fsl~898 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4cee2795a47db43ee9b9e571b803b6b22337972;p=karo-tx-linux.git ENGR00213158-4 IPU: remove in_interrupt() check in _ipu_get/_ipu_put Remove in_interrupt() check in _ipu_get/_ipu_put, since clk_enable and clk_disable should not happen in interrupt context. Signed-off-by: Wayne Zou --- diff --git a/drivers/mxc/ipu3/ipu_common.c b/drivers/mxc/ipu3/ipu_common.c index b1fb4ca63474..561433ff7747 100644 --- a/drivers/mxc/ipu3/ipu_common.c +++ b/drivers/mxc/ipu3/ipu_common.c @@ -373,8 +373,6 @@ void _ipu_get(struct ipu_soc *ipu) { int ret; - if (in_interrupt()) - return; ret = clk_enable(ipu->ipu_clk); if (ret < 0) BUG(); @@ -382,8 +380,6 @@ void _ipu_get(struct ipu_soc *ipu) void _ipu_put(struct ipu_soc *ipu) { - if (in_interrupt()) - return; clk_disable(ipu->ipu_clk); }