summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/devfreq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki2011-11-11 13:10:08 +0100
committerRafael J. Wysocki2011-11-14 23:30:21 +0100
commitbc9f54498eadc5254378e376e8d2111cfd30b229 (patch)
treedb23da7000e73e85ebe6ad9a115ab89431498ee0 /drivers/devfreq/devfreq.c
parentPM / devfreq: Remove compiler error after irq.h update (diff)
downloadkernel-qcow2-linux-bc9f54498eadc5254378e376e8d2111cfd30b229.tar.gz
kernel-qcow2-linux-bc9f54498eadc5254378e376e8d2111cfd30b229.tar.xz
kernel-qcow2-linux-bc9f54498eadc5254378e376e8d2111cfd30b229.zip
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/devfreq.c')
0 files changed, 0 insertions, 0 deletions