summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-02-15 22:56:50 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-08 14:36:27 (GMT)
commit8059c1c6be45973ea72342567a6ede5f4f0bf8e7 (patch)
treee9ae060b1e6a8eb62cbf886efc2c6a659eaf99a4 /include
parenta5055d5d683605210f77d46614bbdb389c1e4a07 (diff)
downloadlinux-fsl-qoriq-8059c1c6be45973ea72342567a6ede5f4f0bf8e7.tar.xz
power: rx51_battery: Fix reporting correct values
Tell twl4030_madc_conversion that this driver needs raw values. Driver twl4030_madc has some hardcoded values and conversation functions which are incorrect for Nokia RX-51 board. This driver rx51_battery expects raw values which convert itself. This patch fixing values reported by power supply interface. Before this patch driver reported always incorrect values on 3.8 kernel (sometimes design capacity was negative). Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions