Blackfin: TWI/I2C: implement bus speed get/set functions
authorMike Frysinger <vapier@gentoo.org>
Wed, 14 Oct 2009 23:27:27 +0000 (19:27 -0400)
committerHeiko Schocher <hs@denx.de>
Fri, 30 Oct 2009 14:10:58 +0000 (15:10 +0100)
commit08a1c6258c2a04cead33eac50d96ea89979dcb94
tree13417f423897c2c72c257e4416fa5d03b020915d
parent3814ea4f0002536ac592480b2cdafa319a16e329
Blackfin: TWI/I2C: implement bus speed get/set functions

While we're here, improve the speed calculation a bit to match the HRM.

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