summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-11-11 13:10:08 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-11-14 23:30:21 +0100
commitbc9f54498eadc5254378e376e8d2111cfd30b229 (patch)
treedb23da7000e73e85ebe6ad9a115ab89431498ee0 /drivers/devfreq
parent952f6d1386b21c5e8db346b805380bf2432e5e9b (diff)
PM / shmobile: Avoid restoring the INTCS state during initialization
The SH7372 PM domain initialization routine calls pd_power_up() that executes the domain's .resume() callback, if present, and for the A4R domain this callback attepmts to restore the INTCS state from uninitialized data. To avoid that, introduce __pd_power_up() that will only execute the domain's .resume() callback if its second argument is 'true' and make the SH7372 PM domain initialization use it with 'false' as its second argument. Redefine pd_power_up() as a wrapper around __pd_power_up(). Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Tracked-down-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions