diff options
| author | Tom Rini <trini@konsulko.com> | 2026-06-18 11:41:22 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2026-06-18 11:41:22 -0600 |
| commit | 922cf29dd8045f7348ce0f20145f46e8235faf21 (patch) | |
| tree | abc959df357277b3f4e8bc91510bebe4b9442a87 | |
| parent | fae363f2cff9ffc258afee3801184879899c5767 (diff) | |
| parent | 78d5f8cb50090a2888df284564f43f4ebfbf663c (diff) | |
- usb: tcpm: fix inverted poll condition in tcpm_pd_transmit()
| -rw-r--r-- | drivers/usb/tcpm/tcpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/tcpm/tcpm.c b/drivers/usb/tcpm/tcpm.c index 3061b466d7c..d6c0be82333 100644 --- a/drivers/usb/tcpm/tcpm.c +++ b/drivers/usb/tcpm/tcpm.c @@ -207,7 +207,7 @@ static int tcpm_pd_transmit(struct udevice *dev, */ timeout_us *= 5; ret = read_poll_timeout(tcpm_transmit_helper, tx_complete, - !tx_complete, false, timeout_us, dev); + tx_complete, false, timeout_us, dev); if (ret < 0) { dev_err(dev, "TCPM: PD transmit data failed: %d\n", ret); return ret; |
