RE: [RFC] rtw88: Fix startup problems for SDIO wifi plus UART Bluetooth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Larry Finger <larry.finger@xxxxxxxxx> wrote:

> 
> On 4/10/24 9:13 PM, Ping-Ke Shih wrote:
> >
> > Larry Finger <Larry.Finger@xxxxxxxxx> wrote:
> >
> >> +       mdelay(500);
> >
> > Will it better to use sleep function?
> 
> My thoughts were that a sleep function would tie up a CPU, whereas the delay
> would not. Initially, we tested an msleep(150) statement, but that only gave a
> 60% success rate, whereas mdelay(500) worked 20 straight tries.
> 

Sorry, I didn't consider the experimental results of msleep(150) and mdelay(500).

My point was busy waiting of mdelay(). I just want to say if msleep(500) is 
better than mdelay(500). 






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux