MLK-14938-14 imx_lpi2c: Fix bus stop timeout issue
authorYe Li <ye.li@nxp.com>
Thu, 18 May 2017 12:47:14 +0000 (07:47 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:50 +0000 (02:36 +0800)
commit6b8a859c9baa05739a13719d674a4915c02d8341
treef777d4183a16a3903b134f291af176aa10f79c40
parentd016611b59c688df6a8330984f2636c420e5adb5
MLK-14938-14 imx_lpi2c: Fix bus stop timeout issue

When checking the timeout for NACK, the start time should be got at
stop command send out, not before controller's TX ready.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/i2c/imx_lpi2c.c