]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit898d8054ec0cb5ba0ec1b15c78042a23ed103c02
tree1c6cdcc402a8cd19a58a0388c0eea2b165cd1497
parentb1ccbdc4a2af5ffcd6082c3a7a6fbd0e134031f2
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