OSDN Git Service

i2c: tegra: Fix the error path in tegra_i2c_runtime_resume
authorSowjanya Komatineni <skomatineni@nvidia.com>
Mon, 27 Jul 2020 20:57:21 +0000 (13:57 -0700)
committerWolfram Sang <wsa@kernel.org>
Tue, 28 Jul 2020 16:32:09 +0000 (18:32 +0200)
commit42aa38b54e35216351e52bb03382a38edc6f1bb8
treeebea7520468dda68c8572169b691463f4d171595
parent7232f53e73839bec4a2747d0c01d29994f9f39b9
i2c: tegra: Fix the error path in tegra_i2c_runtime_resume

tegra_i2c_runtime_resume does not disable prior enabled clocks
properly.

This patch fixes it.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c