]> err.no Git - linux-2.6/commit
[PATCH] i2c-i801: Fix block transaction poll loops
authorJean Delvare <khali@linux-fr.org>
Mon, 12 Jun 2006 19:49:36 +0000 (21:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:35 +0000 (11:10 -0700)
commit397e2f66a23469e2b8a13b764cb2d9ff2444ad5a
tree188283532b9ae804752b30cf8d5ac5c8739a53e2
parent62aaa288ab0425b058fd337c5135a32e8c1aeace
[PATCH] i2c-i801: Fix block transaction poll loops

i2c-i801: Fix block transaction poll loops

Two of the three poll loops have the poll and sleep swapped,
causing an extra sleep to occur after the polled condition is
fulfilled. In practice, this doubles the amount of sleep time for
every block transaction.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-i801.c