OSDN Git Service

i2c: mxs: detect No Slave Ack on SELECT in PIO mode
authorJanusz Użycki <j.uzycki@elproma.com.pl>
Tue, 23 Sep 2014 10:48:26 +0000 (12:48 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 3 Oct 2014 01:35:49 +0000 (03:35 +0200)
commit030f940a535433605e6b4ee43f36189e5cace022
tree21e7c18dcf261cdd186875fca17571047b060912
parentd8e0a86f9713689e35dc14f7184e85a13a2a9f4e
i2c: mxs: detect No Slave Ack on SELECT in PIO mode

i2cdetect scanned i2c bus slow because the i2c-mxs driver ignored the
NO_SLAVE_ACK bit during busy-waiting loop. Thanks to the patch, the
speedup happens.

Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mxs.c