diff options
author | Wayne Zou <b36644@freescale.com> | 2012-06-12 15:02:42 +0800 |
---|---|---|
committer | Wayne Zou <b36644@freescale.com> | 2012-06-14 17:04:37 +0800 |
commit | c8ca0dd0e6a24c5405070a88c56ae51efc8c5fa0 (patch) | |
tree | 21aaf030876c890a7523977184f5fe1e9dd5b9a2 /drivers | |
parent | 5349e417ee65ed72693d9c70682d56dd2bb3f2c0 (diff) |
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 <b36644@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mxc/ipu3/ipu_common.c | 4 |
1 files changed, 0 insertions, 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); } |