Re: [PATCH] staging: nvec: replace udelay() with usleep_range()

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

 



On Mon, Mar 27, 2023 at 03:25:43PM +0300, Dan Carpenter wrote:
> On Mon, Mar 27, 2023 at 05:24:03PM +0500, Khadija Kamran wrote:
> > Replace 'udelay()' with 'usleep_range()' with 1000us as upper limit.
> > This issue is reported by checkpatch.pl script.
> > 
> > CHECK: usleep_range is preferred over udelay; see
> > Documentation/timers/timers-howto.rst
> > 
> > Signed-off-by: Khadija Kamran <kamrankhadijadj@xxxxxxxxx>
> > ---
> 
> This kind of change requires you to test on the hardware and have
> slightly in depth knowledge of the spec.

Okay, thank you!

Regards,
Khadija


> 
> regards,
> dan carpenter
> 




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux