i2c: designware: Disable runtime PM in case i2c_dw_probe() fails
Subsystems (3)
PATCH 1/1 i2c: designware: Disable runtime PM in case i2c_dw_probe() fails
Call to pm_runtime_disable() got dropped while handling the merge conflict between commit 36d48fb5766a ("i2c: designware-platdrv: enable RuntimePM before registering to the core") and commit d80d134182ba ("i2c: designware:
Move common probe code into i2c_dw_probe()").
--- drivers/i2c/busses/i2c-designware-platdrv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/i2c/busses/i2c-designware-platdrv.c +3 -1
@@ -261,8 +261,10 @@ static int dw_i2c_plat_probe(struct platform_device *pdev) } r =i2c_dw_probe (dev); -if (r) +if (r) { +pm_runtime_disable (&pdev->dev);return r; + }return 0 ; }
Signature · 1 line
2.6.1
Quoted 6 lines · Jarkko Nikula
Call to
pm_runtime_disable()got dropped while handling the merge conflict between commit36d48fb5766a("i2c: designware-platdrv: enable RuntimePM before registering to the core") and commitd80d134182ba("i2c: designware:
Move common probe code intoi2c_dw_probe()").Signed-off-by Jarkko Nikula <[email protected]>
Wolfram Sang
AppliedQuoted 6 lines · Jarkko Nikula
Call to
pm_runtime_disable()got dropped while handling the merge conflict between commit36d48fb5766a("i2c: designware-platdrv: enable RuntimePM before registering to the core") and commitd80d134182ba("i2c: designware:
Move common probe code intoi2c_dw_probe()").Signed-off-by Jarkko Nikula <[email protected]>
Applied to for-next, thanks!