diff options
author | Rajendra Nayak <[email protected]> | 2013-05-15 20:18:37 +0530 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2013-05-19 16:34:02 -0600 |
commit | 35513171eed4d7245e81d926d311e74f3dca06f3 (patch) | |
tree | 120657c7d04f1617052ad92ae795abdc30fe8918 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
ARM: OMAP2+: hwmod: Fix sidle programming in _enable_sysc()/_idle_sysc()
_enable_sysc() and _idle_sysc() handle the midle mode programming correctly
and program HWMOD_IDLEMODE_SMART or HWMOD_IDLEMODE_SMART_WKUP respectively
for supported IPs (The ones which support hardware controlled midle modes)
However the same programming logic is missing when it comes to sidle mode
programming. Here they seem to just set HWMOD_IDLEMODE_SMART (Again for the
ones which support hardware controlled sidle modes)
This problem was hidden due to the fact that a call to _enable_wakeup()
in those same functions would overwrite the idlemodes and program them
correctly (to HWMOD_IDLEMODE_SMART_WKUP in the supported cases)
So fix the sidlemode handling correctly in these functions and handle the
_enable_wakeup() for SIDLEMODE supported IPs same as the way its handled
for MIDLEMODE supported ones.
Tested-by: Vaibhav Bedia <[email protected]>
Tested-by: Sourav Poddar <[email protected]>
Signed-off-by: Rajendra Nayak <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Tested-by: Kevin Hilman <[email protected]> # OMAP4/Panda
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions