]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 19 Feb 2025 11:47:00 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2025 14:19:11 +0000 (15:19 +0100)
commitd6b82dafd17db0658f089b9cdec573982ca82bc5
treefe3ab9d85ca4120eb74106d795fefb0e8fa80641
parent40e89ff5750fca2c1d6da93f98a2038716bba86c
usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality

During probe, the TCPC alert interrupts are getting masked to
avoid unwanted interrupts during chip setup: this is ok to do
but there is no unmasking happening at any later time, which
means that the chip will not raise any interrupt, essentially
making it not functional as, while internally it does perform
all of the intended functions, it won't signal anything to the
outside.

Unmask the alert interrupts to fix functionality.

Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")
Cc: stable <stable@kernel.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250219114700.41700-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_rt1711h.c