Sansa Connect: fix a likely typo in busy wait loop in USB driver

GCC 9.5 issues a -Wmisleading-indentation warning due to an extra
semicolon at the end of the while loop. It does seem unintentional
since the loop is a busy wait, so remove the semicolon.

Change-Id: I83b8676cbf38434b8148c43906c6bba9c16d036e
This commit is contained in:
Aidan MacDonald 2025-01-07 12:17:44 +00:00
parent 4377d4b0fa
commit 64d8fc7c0c

View file

@ -214,7 +214,7 @@ static int tnetv_hw_reset(void)
VL_CTRL &= ~VLYNQ_CTL_RESET_MASK;
timeout = 0;
while (!(VL_STAT & VLYNQ_STS_LINK_MASK) && timeout++ < 50);
while (!(VL_STAT & VLYNQ_STS_LINK_MASK) && timeout++ < 50)
{
mdelay(40);
}