diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2013-02-15 22:56:50 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-08 14:36:27 (GMT) |
commit | 8059c1c6be45973ea72342567a6ede5f4f0bf8e7 (patch) | |
tree | e9ae060b1e6a8eb62cbf886efc2c6a659eaf99a4 /include | |
parent | a5055d5d683605210f77d46614bbdb389c1e4a07 (diff) | |
download | linux-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