Re: [PATCH 2/2] media: i2c: ov7251: Introduce 1 ms delay between regulators and en GPIO

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

 



Hi Andy,

On Mon, Jan 20, 2025 at 07:23:07PM +0200, Andy Shevchenko wrote:
> On Mon, Jan 20, 2025 at 12:11:23PM +0200, Sakari Ailus wrote:
> > Lift the xshutdown (enable) GPIO 1 ms after enabling the regulators, as
> > required by the sensor's power-up sequence.
> 
> ...
> 
> > +	usleep_range(1000, 1100);
> 
> Why not fsleep() ?

Could be, but fsleep() uses a range that is as large as the delay is.

-- 
Sakari Ailus




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux