WSL2-Linux-Kernel/drivers/media/spi
Christophe JAILLET dcb0145821 media: cxd2880-spi: Fix an error handling path
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>
2021-07-12 14:27:47 +02:00
..
Kconfig media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cxd2880-spi.c media: cxd2880-spi: Fix an error handling path 2021-07-12 14:27:47 +02:00
gs1662.c media: spi: gs1662: Use new structure for SPI transfer delays 2020-03-05 22:46:25 +01:00