aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2016-08-25 13:33:28 +0100
committerMark Brown <[email protected]>2016-09-01 21:29:11 +0100
commit9d04d8bc4c18765f6a1f7b632fffe47b4578fb26 (patch)
tree5bb2734ab752524128532123c8c267da95221f67 /scripts/gcc-plugins
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
spi: qup: skip clk_disable_unprepare if the device is already runtime suspended
If the spi device is already runtime suspended, if spi_qup_suspend is executed during suspend-to-idle or suspend-to-ram it will result in the a splat from unpreparing a non-prepared clock. This patch fixes the issue by executing clk_disable_unprepare conditionally in spi_qup_suspend. [Reworded commit message to remove irrelevant backtrace -- broonie] Signed-off-by: Sudeep Holla <[email protected]> Tested-by: Andy Gross <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions