Message ID | 1310247441-2709-1-git-send-email-nm@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Tony, Nishanth Menon <nm@ti.com> writes: > SmartReflex should be disabled while entering low power mode due to > a) SmartReflex values are not defined for retention voltageFurther > b) with SmartReflex enabled, if CPU enters lower c-states, FSM will try > to bump the voltage to current OPP's voltage for which it has entered c-state; > hence SmartReflex needs to be disabled for MPU, CORE and IVA voltage > domains in idle path before enabling auto retention voltage achievement > on the device. This should go in for v3.1 also. I made some minor changelog edits and put in my for_3.0/pm-fixes-3 branch. Kevin
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index f8c6305..444c5b2 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c @@ -862,6 +862,7 @@ static int __init omap_sr_probe(struct platform_device *pdev) irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); pm_runtime_enable(&pdev->dev); + pm_runtime_irq_safe(&pdev->dev); sr_info->pdev = pdev; sr_info->srid = pdev->id;