]> git.baikalelectronics.ru Git - kernel.git/commit
soc/tegra: pmc: Pass PMC to tegra_powergate_power_up()
authorThierry Reding <treding@nvidia.com>
Mon, 12 Feb 2018 15:09:43 +0000 (16:09 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Mar 2018 16:02:43 +0000 (17:02 +0100)
commit27c185a54f9fe0d57ae33de62ba16809efa12578
treeefdf1fed3d9797b13e9248fb58f1824135785ac3
parentf67180e995ce357edd449ee1eef8f67b67a1a3a1
soc/tegra: pmc: Pass PMC to tegra_powergate_power_up()

tegra_powergate_sequence_power_up() makes up a struct tegra_powergate
from scratch in order to reuse the same code as used by the generic PM
domain implementation. However, subsequent patches will need to access
the struct tegra_pmc * embedded in the powergate structure, so we need
to make sure we always pass it in.

Tested-by: Hector Martin <marcan@marcan.st>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c