diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-01-14 04:34:36 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-01-15 18:17:15 +0100 |
commit | 24a49678f5e20f18006e71b90ac1531876b27eb1 (patch) | |
tree | 68e4541d74f8e3c267f125c43273b87f5c002348 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 9f42de8d4ec2304f10bbc51dc0484f3503d61196 (diff) |
i2c: tegra: Properly disable runtime PM on driver's probe error
One of the recent Tegra I2C commits made a change that resumes runtime PM
during driver's probe, but it missed to put the RPM in a case of error.
Note that it's not correct to use pm_runtime_status_suspended because it
breaks RPM refcounting.
Fixes: 8ebf15e9c869 ("i2c: tegra: Move suspend handling to NOIRQ phase")
Cc: <stable@vger.kernel.org> # v5.4+
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions