commit | fecc49db884b902f7abbea4c9287d17a56966be4 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Mon May 23 11:30:09 2016 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Jun 15 13:59:58 2016 +0200 |
tree | bb14c90246772c708e09669b4dad65ec10bae557 | |
parent | 01324ab2c990bbd39ec0ef388b7c311a54452a0b [diff] |
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>