]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Fixed unconditional reset of the mc13xxx ADC reading enable bits
authorRobin van der Gracht <robin@protonic.nl>
Tue, 29 Nov 2011 11:09:03 +0000 (12:09 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 12 Dec 2011 17:10:43 +0000 (18:10 +0100)
commitccbbfb479a069ee36dba246a03cdc9193f69cd28
treeb83837ea95076b8341753b29ef1903d2bc5d3aab
parenta6da5e96a4bc1abf946d8af2a1bb133b82f433ef
mfd: Fixed unconditional reset of the mc13xxx ADC reading enable bits

When the ADC is being prepared for a single or multiple channel reading,
the adc0 register is reconfigured without taking the lithium cell, charge
current and battery current reading enable bits into account. Which results
in clearing the bits.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c
include/linux/mfd/mc13xxx.h