]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Correct WM8350 I2C return code usage
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 12 Nov 2008 16:34:02 +0000 (17:34 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 16 Nov 2008 18:58:47 +0000 (19:58 +0100)
commit4526407bd603c5e60d3a0887144fb4d274a4c782
tree1c6cdcc402a8cd19a58a0388c0eea2b165cd1497
parenta8c8b12e023688a8ca85a5a775923db1b9d14ce8
mfd: Correct WM8350 I2C return code usage

The vendor BSP used for the WM8350 development provided an I2C driver
which incorrectly returned zero on succesful sends rather than the
number of transmitted bytes, an error which was then propagated into the
WM8350 I2C accessors.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/wm8350-i2c.c