aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-iop3xx.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-01-14 04:34:36 +0300
committerWolfram Sang <wsa@the-dreams.de>2020-01-15 18:17:15 +0100
commit24a49678f5e20f18006e71b90ac1531876b27eb1 (patch)
tree68e4541d74f8e3c267f125c43273b87f5c002348 /drivers/i2c/busses/i2c-iop3xx.c
parenti2c: tegra: Fix suspending in active runtime PM state (diff)
downloadlinux-dev-24a49678f5e20f18006e71b90ac1531876b27eb1.tar.xz
linux-dev-24a49678f5e20f18006e71b90ac1531876b27eb1.zip
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/i2c/busses/i2c-iop3xx.c')
0 files changed, 0 insertions, 0 deletions