Files
linux/drivers/usb/typec
Sven Peter 6d8fc203b2 usb: typec: tipd: Prevent uninitialized event{1,2} in IRQ handler
If reading TPS_REG_INT_EVENT1/2 fails in the interrupt handler event1
and event2 may be uninitialized when they are used to determine
IRQ_HANDLED vs. IRQ_NONE in the error path.

Fixes: c7260e29dd ("usb: typec: tipd: Add short-circuit for no irqs")
Fixes: 45188f27b3 ("usb: typec: tipd: Add support for Apple CD321X")
Cc: stable <[email protected]>
Signed-off-by: Sven Peter <[email protected]>
Reviewed-by: Eric Curtin <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guido Günther <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-11-08 16:51:21 +01:00
..
2022-04-26 13:47:13 +02:00
2022-08-30 15:30:39 +02:00
2022-07-14 16:24:05 +02:00
2022-07-14 16:24:05 +02:00
2022-04-26 13:47:13 +02:00
2022-07-14 16:24:05 +02:00
2022-08-16 12:46:26 +02:00