diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-10-12 09:20:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-28 18:25:51 +0100 |
commit | 044b9da127343fcfafcc0887f800b300edbee714 (patch) | |
tree | 597a8109074212dc9bb69b1714422d987bb1a826 /drivers/thermal/st | |
parent | 7916b0d824cd7670c2fe20f0e9433a7227cfe0a4 (diff) |
thermal: rcar_thermal: Prevent hardware access during system suspend
[ Upstream commit 3a31386217628ffe2491695be2db933c25dde785 ]
On r8a7791/koelsch, sometimes the following message is printed during
system suspend:
rcar_thermal e61f0000.thermal: thermal sensor was broken
This happens if the workqueue runs while the device is already
suspended. Fix this by using the freezable system workqueue instead,
cfr. commit 51e20d0e3a60cf46 ("thermal: Prevent polling from happening
during system suspend").
Fixes: e0a5172e9eec7f0d ("thermal: rcar: add interrupt support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/thermal/st')
0 files changed, 0 insertions, 0 deletions