[PATCH] Wait until device is ready after status request

Stefan Schmidt stefan at datenfreihafen.org
Mon Nov 8 12:21:10 CET 2010


Hello.

On Sun, 2010-11-07 at 18:53, Tormod Volden wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
> 
> The usleep will in many cases be a NOP since the device sends a
> zero bwPollTimeout, but better be safe and strict in all cases.
> 
> In one case below it replaces a hardcoded 5 ms wait. If a device
> is broken and needs more time than it says, we should add quirks
> for the specific device.

I agree with the concept, but we would need such a quirk system in place before
we change the default. The main problem is here that our main target the
Openmoko devices are broken in this regard. It does not report the time in
bwPollTimeout correctly.

So I'm not going to apply this patch until such a quirk system exists.

regards
Stefan Schmidt



More information about the devel mailing list