Commit 1279ba59 authored by Nishanth Menon's avatar Nishanth Menon Committed by Kevin Hilman

OMAP3+: SR: disable interrupt by default

We will enable and disable interrupt on a need basis in the class
driver. We need to keep the IRQ disabled by default else the
forceupdate or vcbypass events could trigger events that we don't
need/expect to handle.

This is a preparation for SmartReflex AVS class drivers such as
class 2 and class 1.5 which would need to use interrupts. Existing
SmartReflex AVS class 3 driver does not require to use interrupts
and is not impacted by this change.
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 7a89afa8
...@@ -268,6 +268,7 @@ static int sr_late_init(struct omap_sr *sr_info) ...@@ -268,6 +268,7 @@ static int sr_late_init(struct omap_sr *sr_info)
0, name, (void *)sr_info); 0, name, (void *)sr_info);
if (ret) if (ret)
goto error; goto error;
disable_irq(sr_info->irq);
} }
if (pdata && pdata->enable_on_init) if (pdata && pdata->enable_on_init)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment