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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录