mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04:00
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 <andre.draszik@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240710-tcpc-cleanup-v1-2-0ec1f41f4263@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
07a83512fa
commit
0943ce2b76
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user