summaryrefslogtreecommitdiff
path: root/include/configs/T4240RDB.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-10-20 14:48:28 (GMT)
committerHeiko Schocher <hs@denx.de>2016-10-24 16:15:47 (GMT)
commitb03380805b5a184b7017dc428a53c8e1e9c9f99c (patch)
tree797bf98c04716ed0719ee71f63f396633e39ce63 /include/configs/T4240RDB.h
parent5ac5861c4ba851b473e6a24940b412b397627d8d (diff)
downloadu-boot-b03380805b5a184b7017dc428a53c8e1e9c9f99c.tar.xz
i2c: designware: Avoid overwriting the cmd_data register
Make sure the driver writes the cmd_data register only once per read transfer instead of doing so potentially repeatedly. In case the read transfer didn't finish quickly enough, the loop in the driver code would spin fast enough to write the same value into the cmd_data register again before re-checking whether the transfer completed, which would cause another spurious read transfer on the bus. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Heiko Schocher <hs@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'include/configs/T4240RDB.h')
0 files changed, 0 insertions, 0 deletions