]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i2c: lpc32xx: fix read timeout
authorSylvain Lemieux <slemieux@tycoint.com>
Mon, 27 Jul 2015 17:37:38 +0000 (13:37 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:12 +0000 (10:24 +0200)
commit62af54d828bc18d3c2899827ab8c29c21d39d6ee
treee2e31a1e009d0d820a652005440ef9bb4c113029
parent046d8486a16b7556500cbb77f200a0439054916b
i2c: lpc32xx: fix read timeout

Fix a condition that generate watchdog timeout inside "lpc32xx_i2c_read" when parameters alen != 0 and len = 0.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
drivers/i2c/lpc32xx_i2c.c