android_kernel_motorola_sm6375/drivers/extcon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matti Vaittinen 1ad25a64c6 extcon: extcon-max8997: Fix IRQ freeing at error path
[ Upstream commit 610bdc04830a864115e6928fc944f1171dfff6f3 ]

If reading MAX8997_MUIC_REG_STATUS1 fails at probe the driver exits
without freeing the requested IRQs.

Free the IRQs prior returning if reading the status fails.

Fixes: 3e34c81989 ("extcon: max8997: Avoid forcing UART path on drive probe")
Signed-off-by: Matti Vaittinen <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Link: https://lore.kernel.org/r/27ee4a48ee775c3f8c9d90459c18b6f2b15edc76.1623146580.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-07-14 16:53:24 +02:00
..
devres.c
extcon-adc-jack.c
extcon-arizona.c extcon: arizona: Fix various races on driver unbind 2021-05-11 14:04:09 +02:00
extcon-axp288.c
extcon-fsa9480.c
extcon-gpio.c
extcon-intel-cht-wc.c
extcon-intel-int3496.c
extcon-intel-mrfld.c
extcon-intel.h
extcon-max3355.c
extcon-max8997.c extcon: extcon-max8997: Fix IRQ freeing at error path 2021-07-14 16:53:24 +02:00
extcon-max14577.c
extcon-max77693.c extcon: max77693: Fix modalias string 2020-12-30 11:51:24 +01:00
extcon-max77843.c
extcon-palmas.c
extcon-ptn5150.c extcon: ptn5150: Fix usage of atomic GPIO with sleeping GPIO chips 2020-11-05 11:43:24 +01:00
extcon-qcom-spmi-misc.c
extcon-rt8973a.c
extcon-rt8973a.h
extcon-sm5502.c
extcon-sm5502.h
extcon-usb-gpio.c
extcon-usbc-cros-ec.c
extcon.c extcon: Fix error handling in extcon_dev_register 2021-04-07 14:47:43 +02:00
extcon.h
Kconfig
Makefile