This is an automatic generated email to let you know that the following patch were queued:
Subject: media: imx214: Fix the error handling in imx214_probe() Author: Zheyu Ma <zheyum...@gmail.com> Date: Tue May 10 12:48:52 2022 +0100 The driver should disable regulators when fails to probe. Link: https://lore.kernel.org/linux-media/20220510114852.1719018-1-zheyum...@gmail.com Signed-off-by: Zheyu Ma <zheyum...@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mche...@kernel.org> drivers/media/i2c/imx214.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/i2c/imx214.c b/drivers/media/i2c/imx214.c index 10b6ad66d126..4962cfe7c83d 100644 --- a/drivers/media/i2c/imx214.c +++ b/drivers/media/i2c/imx214.c @@ -1114,6 +1114,7 @@ free_ctrl: v4l2_ctrl_handler_free(&imx214->ctrls); error_power_off: pm_runtime_disable(imx214->dev); + regulator_bulk_disable(IMX214_NUM_SUPPLIES, imx214->supplies); return ret; }