Commit 9c6f8740d0c8d2b4de78511257f38384f4cbb292

Authored by Paul Parsons
Committed by Anton Vorontsov
1 parent 3af98a8f39

ds2760_battery: Fix rated capacity of the hx4700 1800mAh battery

Fix rated capacity of the HP iPAQ hx4700 3.7V 1800mAh (359113-001) battery. For this battery the value of the rated capacity EEPROM register at 0x32 is 7; thus rated_capacities[7] = 1800.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

drivers/power/ds2760_battery.c
... ... @@ -86,7 +86,11 @@
86 86 920, /* NEC */
87 87 1440, /* Samsung */
88 88 1440, /* BYD */
  89 +#ifdef CONFIG_MACH_H4700
  90 + 1800, /* HP iPAQ hx4700 3.7V 1800mAh (359113-001) */
  91 +#else
89 92 1440, /* Lishen */
  93 +#endif
90 94 1440, /* NEC */
91 95 2880, /* Samsung */
92 96 2880, /* BYD */