diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-27 17:54:31 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 09:48:42 +0100 |
| commit | 03fe35ce9a0edaf7902a5b5cef31878bd4c0f90c (patch) | |
| tree | 39aca572bb2cbb1cadbebedd52716849796bc7cc /drivers/memory | |
| parent | 543d85602f9c0ee1e2260e217bb6c132a955cce7 (diff) | |
| download | linux-03fe35ce9a0edaf7902a5b5cef31878bd4c0f90c.tar.gz linux-03fe35ce9a0edaf7902a5b5cef31878bd4c0f90c.tar.bz2 linux-03fe35ce9a0edaf7902a5b5cef31878bd4c0f90c.zip | |
soc/tegra: Fix an error handling path in tegra_powergate_power_up()
[ Upstream commit 986b5094708e508baa452a23ffe809870934a7df ]
If an error occurs after a successful tegra_powergate_enable_clocks()
call, it must be undone by a tegra_powergate_disable_clocks() call, as
already done in the below and above error handling paths of this function.
Update the 'goto' to branch at the correct place of the error handling
path.
Fixes: a38045121bf4 ("soc/tegra: pmc: Add generic PM domain support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
