diff options
author | Paul Walmsley <[email protected]> | 2012-01-30 02:47:24 -0700 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2012-03-05 15:38:02 -0800 |
commit | 506c7d7931317813b3142f57d44bf113102a2a8f (patch) | |
tree | 7a50f9f30ef7429935a92e8a58c6cbbb66cb9bad /net/lapb/lapb_subr.c | |
parent | 015f1e4297ad32f83251f3f4cee2389ce5516e9e (diff) |
ARM: OMAP3: PM: remove superfluous calls to pwrdm_clear_all_prev_pwrst()
Remove some superfluous calls to pwrdm_clear_all_prev_pwrst().
pwrdm_pre_transition(), which appears a few lines after these calls,
invokes pwrdm_clear_all_prev_pwrst() on each powerdomain -- there's no
need to do it twice.
N.B.: some of us have observed that accesses to the previous
powerstate registers seem to be quite slow. Although the writes
removed by this patch should be buffered by the write buffer, there is
a read to a PRM register immediately afterwards. That will block the
OMAP3 MPU until all of those writes complete. So this patch should
result in a minor performance improvement during idle entry.
Signed-off-by: Paul Walmsley <[email protected]>
Cc: Rajendra Nayak <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Tested-by: Tero Kristo <[email protected]>
[[email protected]: removed a couple more for OMAP4]
Tested-by: Kevin Hilman <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions