]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: rcar_gen3_thermal: add suspend and resume support
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 29 Mar 2017 18:43:56 +0000 (20:43 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 31 Mar 2017 04:49:03 +0000 (21:49 -0700)
commitff6093b8004e33c23787b9e2d4719218d860fbad
tree9257a6ee57f8489062839bb7f7b8df31f3bd0f52
parent58f03806fe64be1501a1457eea135ae3daf87612
thermal: rcar_gen3_thermal: add suspend and resume support

To restore operation it's easiest to reinitialise all TSCs. In order to
do this the current trip window needs to be stored in the TSC structure
so that it can be restored upon resume.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c