summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2012-02-20 09:14:16 +0100
committerWolfram Sang <w.sang@pengutronix.de>2012-03-07 19:07:04 +0100
commit0836c80901565e8549e17cbad6933ab7e48ef6b2 (patch)
treeadb5321eb058a3846c266fddd3be3bb790516571 /drivers/auxdisplay
parentc62c3ca55e0db52b311b1258ed08bc6c7525195e (diff)
downloadblackbird-op-linux-0836c80901565e8549e17cbad6933ab7e48ef6b2.tar.gz
blackbird-op-linux-0836c80901565e8549e17cbad6933ab7e48ef6b2.zip
i2c-eg20t: Rework pch_i2c_wait_for_bus_idle to reduce wait time
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> Acked-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud