thermal: tango: add resume support
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Fri, 2 Sep 2016 13:17:17 +0000 (15:17 +0200)
committerZhang Rui <rui.zhang@intel.com>
Mon, 5 Sep 2016 22:51:36 +0000 (06:51 +0800)
commit186e2aa3954c3201583e5ec3149faa6caa67d2b9
treec2c0cbada5a4a4613a4e7375eb237fc352ac9812
parent8900f6fbb92fa0e43f0769cb1c8dce39db9d4dca
thermal: tango: add resume support

When this platform is suspended, firmware powers the entire SoC down,
except a few hardware blocks waiting for wakeup events. There is no
context to save for this particular block.

Therefore, there is nothing useful for the driver to do on suspend;
so we define a NULL suspend hook. On resume, the driver initializes
the block exactly as is done in the probe callback.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/tango_thermal.c
This page took 0.024217 seconds and 5 git commands to generate.