[PATCH v4 4/5] timeout: add poller_call

Eric Bénard eric at eukrea.com
Wed Jan 4 08:32:50 EST 2012


Hi Jean-Christophe,

Le Wed, 4 Jan 2012 12:44:26 +0100,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> a écrit :

> On 12:10 Wed 04 Jan     , Eric Bénard wrote:
> > Hi Jean-Christophe,
> > 
> > Le Wed, 4 Jan 2012 11:47:41 +0100,
> > Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> a écrit :
> > 
> > > On 10:36 Wed 04 Jan     , Eric Bénard wrote:
> > > > without this, usb gadget can't enumerate during boot once the
> > > > timeout command is launched (thus preventing usbserial console
> > > > access to take control of the board before autoboot)
> > > > 
> > > > Signed-off-by: Eric Bénard <eric at eukrea.com>
> > > 
> > > I send a patch to put it in the is_timeout c code
> > > 
> > I just saw it.
> > 
> > > I think it's better
> > Maybe, I don't understand whyu you need to add if (time_offset_ns >=
> > 100 * USECOND) which was not here before.
> I'm working to add bitbanging i2c so I do not want the small delay to be
> impacted by the pull
> 
then I suggest you first add the poll change without this test, and
then add this test once you add bitbanging i2c. That will make the
change more understandable.

Eric



More information about the barebox mailing list