]> git.baikalelectronics.ru Git - kernel.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)
commit292d5ca6838551f17bc9ed77e77186fd76e421b0
treecde5fd196d158f3173c4e0f6bb791bfe0ea7aa19
parent0a1fd1368cdef286235740aa4e38a29baf3da34d
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