]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/tegra: sor: Disable runtime PM on probe failure
authorThierry Reding <treding@nvidia.com>
Fri, 31 Jan 2020 16:59:09 +0000 (17:59 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 31 Jan 2020 20:29:16 +0000 (21:29 +0100)
commitad2139cb80a7a9afbfe428d0448d351a84e22ee6
treecde5fd196d158f3173c4e0f6bb791bfe0ea7aa19
parenta5127a2dbe95dd72b6a21c98dee0857511f30357
drm/tegra: sor: Disable runtime PM on probe failure

If the driver fails to probe, make sure to disable runtime PM again.

While at it, make the cleanup code in ->remove() symmetric.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c