From a4cee2795a47db43ee9b9e571b803b6b22337972 Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Tue, 12 Jun 2012 15:02:42 +0800 Subject: [PATCH] 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 --- drivers/mxc/ipu3/ipu_common.c | 4 ---- 1 file changed, 4 deletions(-) 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); } -- 2.39.5