i2c: mv64xxx: Apply errata delay only in standard mode
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 14 Mar 2018 17:03:40 +0000 (18:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:49:11 +0000 (07:49 +0200)
commit82eac614c60e27d1014cc0c91b9bcc6b4cdc49db
tree4c4605483f008ebb07ed610e096a3b856ad8d116
parentdfcb739c20d88461fbd0dc007670f63ad82db881
i2c: mv64xxx: Apply errata delay only in standard mode

[ Upstream commit 31184d8c6ea49ea0676d100cdd7e1f102ad025b5 ]

The errata FE-8471889 description has been updated. There is still a
timing violation for repeated start. But the errata now states that it
was only the case for the Standard mode (100 kHz), in Fast mode (400 kHz)
there is no issue.

This patch limit the errata fix to the Standard mode.

It has been tesed successfully on the clearfog (Aramda 388 based board).

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-mv64xxx.c