From: André Draszik Date: Wed, 10 Jul 2024 10:36:09 +0000 (+0100) Subject: usb: typec: tcpm/tcpci_maxim: clarify a comment X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0943ce2b764310efeffc58fbc09a9105cf02a8ea;p=users%2Fwilly%2Flinux.git usb: typec: tcpm/tcpci_maxim: clarify a comment We loop while the status is != 0, so rephrase the comment slightly for clarity. Signed-off-by: André Draszik Reviewed-by: Heikki Krogerus Link: https://lore.kernel.org/r/20240710-tcpc-cleanup-v1-2-0ec1f41f4263@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/typec/tcpm/tcpci_maxim_core.c b/drivers/usb/typec/tcpm/tcpci_maxim_core.c index 760e2f92b958..441344fd0201 100644 --- a/drivers/usb/typec/tcpm/tcpci_maxim_core.c +++ b/drivers/usb/typec/tcpm/tcpci_maxim_core.c @@ -397,7 +397,7 @@ static irqreturn_t max_tcpci_irq(int irq, void *dev_id) } while (status) { irq_return = _max_tcpci_irq(chip, status); - /* Do not return if the ALERT is already set. */ + /* Do not return if a (new) ALERT is set (again). */ ret = max_tcpci_read16(chip, TCPC_ALERT, &status); if (ret < 0) break;