summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-09-30 00:18:45 +0200
committerWolfram Sang <wsa@kernel.org>2020-10-05 22:57:39 +0200
commite4fc2efbc310cfb665eed558da42ac18084d20bc (patch)
tree757b05ed8da7a1fb0bdac75dd563c139b935bbaf /usr
parenti2c: tegra: Make tegra_i2c_flush_fifos() usable in atomic transfer (diff)
downloadlinux-e4fc2efbc310cfb665eed558da42ac18084d20bc.tar.xz
linux-e4fc2efbc310cfb665eed558da42ac18084d20bc.zip
i2c: tegra: Add missing pm_runtime_put()
The pm_runtime_get_sync() always bumps refcount regardless of whether it succeeds or fails. Hence driver is responsible for restoring of the RPM refcounting. This patch adds missing RPM puts which restore refcounting in a case of pm_runtime_get_sync() error. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Tested-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions