mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
usb: musb: cppi41: do not call udelay()
according to comment in code, HS completion will happen pretty fast, instead of using udelay(), let's just busy loop and drop a cpu_relax() where udelay() was. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
af63429cf0
commit
043f5b75dd
@ -287,7 +287,7 @@ static void cppi41_dma_callback(void *private_data)
|
||||
wait--;
|
||||
if (!wait)
|
||||
break;
|
||||
udelay(1);
|
||||
cpu_relax();
|
||||
} while (1);
|
||||
}
|
||||
list_add_tail(&cppi41_channel->tx_check,
|
||||
|
Loading…
Reference in New Issue
Block a user