Files
twx-linux/drivers
Christophe JAILLET 9a193caf9d media: cxd2880-spi: Fix an error handling path
[ Upstream commit dcb0145821 ]

If an error occurs after a successful 'regulator_enable()' call,
'regulator_disable()' must be called.

Fix the error handling path of the probe accordingly.

Fixes: cb496cd472 ("media: cxd2880-spi: Add optional vcc regulator")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:30 +02:00
..
…
2021-09-15 09:47:27 +02:00
…
…
…
…
2021-09-15 09:47:30 +02:00
…
2021-07-14 16:53:42 +02:00
…
…
…
…
…
…
2021-07-14 16:53:13 +02:00
…
…
…
…
…
2021-08-26 08:36:17 -04:00
…
…
…
…
…
…
…
2021-09-03 10:08:15 +02:00
…
…
…
…
…