summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/thermal_core.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-05-23 11:30:09 +0200
committerJoerg Roedel <jroedel@suse.de>2016-06-15 13:59:58 +0200
commitfecc49db884b902f7abbea4c9287d17a56966be4 (patch)
treebb14c90246772c708e09669b4dad65ec10bae557 /drivers/thermal/thermal_core.h
parent01324ab2c990bbd39ec0ef388b7c311a54452a0b (diff)
downloadtalos-obmc-linux-fecc49db884b902f7abbea4c9287d17a56966be4.tar.gz
talos-obmc-linux-fecc49db884b902f7abbea4c9287d17a56966be4.zip
iommu/exynos: Prepare clocks when needed, not in driver probe
Make clock preparation together with clk_enable(). This way inactive SYSMMU controllers will not keep clocks prepared all the time. This change allows more fine graded power management in the future. All the code assumes that clock management doesn't fail, so guard clock_prepare_enable() it with BUG_ON(). Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/thermal/thermal_core.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud