diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2022-09-29 22:30:38 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-10-02 00:46:42 +0200 |
commit | e2062df704dea47efe16edcaa2316d7b5ecca64f (patch) | |
tree | 0390eb876c516061f84632f4acb0e8d2a6037900 /drivers/i2c/busses/i2c-kempld.c | |
parent | 367d4c887acd2be7524bd532ae9446ed2f508c3c (diff) | |
download | linux-e2062df704dea47efe16edcaa2316d7b5ecca64f.tar.bz2 |
i2c: davinci: fix PM disable depth imbalance in davinci_i2c_probe
The pm_runtime_enable will increase power disable depth. Thus a
pairing decrement is needed on the error handling path to keep
it balanced according to context.
Fixes: 17f88151ff190 ("i2c: davinci: Add PM Runtime Support")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-kempld.c')
0 files changed, 0 insertions, 0 deletions