[PATCH v2 06/11] i2c: nomadik: support short xfer timeouts using waitqueue & hrtimer

Wolfram Sang wsa at kernel.org
Mon Mar 4 03:37:53 PST 2024


> > > -	int				timeout;
> > > +	int				timeout_usecs;
> >
> > I think 'unsigned' makes a lot of sense here. Maybe u32 even?
> 
> Yes unsigned would make sense. unsigned int or u32, I wouldn't know
> which to pick.

It gets (later) fed by of_property_read_u32(), so I tend to suggest u32.
Sounds like least conversions then but please double check.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240304/18f23354/attachment.sig>


More information about the linux-arm-kernel mailing list