i2c: i.MX: stop after read only in last transfer of a message
Following the Linux driver the controller should be stopped in the
read transfer path only after the last transfer of a message, but
not when other transfers of the same message are following. Implement
this behaviour for the barebox driver aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 227dbe1 commit 43dd6b0522d5e54c23824e9eeba1057e40047168
@Sascha Hauer Sascha Hauer authored on 27 Feb 2019
Showing 1 changed file
View
drivers/i2c/busses/i2c-imx.c