Re: [PATCH 2/2] power: rx51_battery: Fix reporting correct values

2013-02-16 Thread Anton Vorontsov
On Fri, Feb 15, 2013 at 11:56:50PM +0100, Pali Rohár wrote: > 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 c

[PATCH 2/2] power: rx51_battery: Fix reporting correct values

2013-02-15 Thread Pali Rohár
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 in