diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-04-24 17:33:27 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-07-11 10:54:52 +0200 |
commit | 9ca37d78a35b590c8ecc93a1ecfca2411fde5fb7 (patch) | |
tree | fc203bcb737751b4bccabef71a46d1f80d1fa2a9 /drivers/rtc/x1205.c | |
parent | 3174689be239aae5901fbc5c484a15444bbe96ea (diff) | |
download | u-boot-imx-9ca37d78a35b590c8ecc93a1ecfca2411fde5fb7.zip u-boot-imx-9ca37d78a35b590c8ecc93a1ecfca2411fde5fb7.tar.gz u-boot-imx-9ca37d78a35b590c8ecc93a1ecfca2411fde5fb7.tar.bz2 |
mxc_i2c: remove setting speed at each start
Other then being very weird, this code was also wrong.
For example, say I set speed to 100K. I'll read back the speed
as 85937. But the speed is really 85937.5, so we I reset
the speed to 85937, I'll get 73660.7. After a couple of transactions
my speed is now exactly 68750 so it will remain there.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/rtc/x1205.c')
0 files changed, 0 insertions, 0 deletions