]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: lpc32xx: fix write timeout
authorSylvain Lemieux <slemieux@tycoint.com>
Mon, 27 Jul 2015 17:37:39 +0000 (13:37 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 17 Aug 2015 12:11:50 +0000 (08:11 -0400)
commit58243001a9419d9d1671e32611b7d15f6ed64b3a
tree6e9a0c341db8d940bcf5da4fdc195e85a950930c
parent3d2b6a2e5f57f752c2541116beb89bf6db41a841
i2c: lpc32xx: fix write timeout

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

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