aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/twl4030-pwrbutton.c
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@verdurent.com>2009-12-11 13:21:45 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 19:22:00 +0100
commit147e084792f22b52df65a3d9d0e8b2a9233e0aa8 (patch)
treeb5598f79a70eaddce240fca1dfd2434544d1fb4e /drivers/input/misc/twl4030-pwrbutton.c
parentab4abe056d8828341d2a7d6463b13eafaf210181 (diff)
downloadkernel_goldelico_gta04-147e084792f22b52df65a3d9d0e8b2a9233e0aa8.zip
kernel_goldelico_gta04-147e084792f22b52df65a3d9d0e8b2a9233e0aa8.tar.gz
kernel_goldelico_gta04-147e084792f22b52df65a3d9d0e8b2a9233e0aa8.tar.bz2
mfd: Clarify twl4030 return value for read and write
We should be checking if all the messages were tranferred. If not, then we should propagate the i2c core error code or EIO. Currently we return success (0) even if none of messages were transferred successfully. Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/input/misc/twl4030-pwrbutton.c')
0 files changed, 0 insertions, 0 deletions