i2c: rcar: fix PM ref counts in probe error paths
stable inclusion from stable-v5.10.121 commit c9542f5f901ba425e7eff0361b81d49dea0d5259 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c9542f5f901ba425e7eff0361b81d49dea0d5259 -------------------------------- [ Upstream commit 3fe2ec59 ] We have to take care of ID_P_PM_BLOCKED when bailing out during probe. Fixes: 7ee24eb5 ("i2c: rcar: disable PM in multi-master mode") Signed-off-by:Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Wolfram Sang <wsa@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment