mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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]>