Messages in this thread | | | Date | Fri, 24 Feb 2012 13:17:53 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH v2] i2c-eg20t: Rework pch_i2c_wait_for_bus_idle to reduce wait time |
| |
On Mon, Feb 20, 2012 at 09:14:16AM +0100, Alexander Stein wrote: > If you insert several i2c transfers, the driver might start the next one > while the STOP bit of the previous transfer is still on the bus, marking > the bus as busy. > pch_i2c_wait_for_bus_idle does an msleep(20) delaying the next transfer > by >=20ms. Reduce wait time by actively waiting 5 us once, then using > usleep_range. > > Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Tomoya, are you happy with it? (I hope he reads the list, since his companies mailserver doesn't seem to accept my mails).
Regards,
Wolfram
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |