summaryrefslogtreecommitdiff
path: root/drivers/mxc/security/dryice.c
diff options
context:
space:
mode:
authorRaj Rajasekaran <b10872@freescale.com>2009-04-29 11:20:58 -0500
committerRaj Rajasekaran <b10872@freescale.com>2009-08-21 13:54:24 -0500
commit12a78a3943ca93ca04f714b6c8cbbaa9b51733b6 (patch)
treeba2adc2d6f9357ea595b7b432fb75dee1f61db0a /drivers/mxc/security/dryice.c
parentdabb000f162c2efd6f012f4d1f80d4a1b5f9183d (diff)
ENGR00107366 DryIce: DryIce unit test failed with RTC enabled.rel_imx_2.6.28_4.5.1
Registered Dryice Security and RTC interrupts as shared. Signed-off-by: Raj Rajasekaran <b10872@freescale.com>
Diffstat (limited to 'drivers/mxc/security/dryice.c')
-rw-r--r--drivers/mxc/security/dryice.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mxc/security/dryice.c b/drivers/mxc/security/dryice.c
index 96c403585bd2..0f175cd60afc 100644
--- a/drivers/mxc/security/dryice.c
+++ b/drivers/mxc/security/dryice.c
@@ -571,8 +571,10 @@ OS_DEV_INIT(dryice_init)
clk_enable(di->clk);
/* register for interrupts */
- rc = os_register_interrupt("dry_ice", di->irq_norm.irq,
- OS_DEV_ISR_REF(dryice_norm_irq));
+ /* os_register_interrupt() dosen't support an option to make the
+ interrupt as shared. Replaced it with request_irq().*/
+ rc = request_irq(di->irq_norm.irq, dryice_norm_irq, IRQF_SHARED,
+ "dry_ice", di);
if (rc)
goto err_irqs;
else