]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: Fix val_len parameters for s5m-core regmap_raw_write
authorAxel Lin <axel.lin@gmail.com>
Tue, 14 Feb 2012 03:08:07 +0000 (11:08 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:43 +0000 (18:46 +0100)
commit113351b52b296afa91d829e880037ef91f0e96f5
treed160aea1b1d59019d77d22458f0adc6db1fa1d82
parentd1b5c5e2351c5d30327f77226daab21ce9ef427f
mfd: Fix val_len parameters for s5m-core regmap_raw_write

The val_len parameters for regmap_raw_write should be "count * sizeof(u8)"
(or simply "count") instead of "count * sizeof(u16)".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/s5m-core.c