Blackfin: TWI/I2C: add timeout to transfer
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Oct 2009 23:27:26 +0000 (19:27 -0400)
committerHeiko Schocher <hs@denx.de>
Fri, 30 Oct 2009 14:10:58 +0000 (15:10 +0100)
commit3814ea4f0002536ac592480b2cdafa319a16e329
tree0dc7c33077544e7e04729f15c925542ba2a40916
parentf2b4bc04d6aed6be712d236dab48ac4c4da22cbf
Blackfin: TWI/I2C: add timeout to transfer

The current transfer code relies on ctrlc() to abort transfers, but this
requires user interactivity.  Naturalize the process with a timeout.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/i2c/bfin-twi_i2c.c