summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-10-20 16:48:28 +0200
committerHeiko Schocher <hs@denx.de>2016-10-24 18:15:47 +0200
commitb03380805b5a184b7017dc428a53c8e1e9c9f99c (patch)
tree797bf98c04716ed0719ee71f63f396633e39ce63 /include/configs
parent5ac5861c4ba851b473e6a24940b412b397627d8d (diff)
downloadu-boot-imx-b03380805b5a184b7017dc428a53c8e1e9c9f99c.zip
u-boot-imx-b03380805b5a184b7017dc428a53c8e1e9c9f99c.tar.gz
u-boot-imx-b03380805b5a184b7017dc428a53c8e1e9c9f99c.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions