i2c: rcar: fix PM ref counts in probe error paths
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 20 May 2022 09:54:21 +0000 (11:54 +0200)
committerWolfram Sang <wsa@kernel.org>
Sat, 21 May 2022 06:16:40 +0000 (08:16 +0200)
commit3fe2ec59db1a7569e18594b9c0cf1f4f1afd498e
treee0c359538cca0e30b319e635a8b564bf3b8161dc
parente5222d408de2a88e6b206c38217b48d092184553
i2c: rcar: fix PM ref counts in probe error paths

We have to take care of ID_P_PM_BLOCKED when bailing out during probe.

Fixes: 7ee24eb508d6 ("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>
drivers/i2c/busses/i2c-rcar.c