diff options
author | Paul Fertser <fercerpav@gmail.com> | 2009-07-29 18:24:39 +0400 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2009-08-02 11:27:19 +0400 |
commit | 53bbb82febf74555ee737998d761b7d8e6b1317e (patch) | |
tree | c93465ac8336fbb2ada4211acc1981779c28d328 /arch/x86/kernel/microcode_core.c | |
parent | 37deadd5c1aca22e1be6793cbe09532485c1d43b (diff) |
pcf50633: query charger status directly
Current scheme is fragile and is likely to go off sync, especially on
batfull->adapter charging automatic MBC transition.
Query the status bit every time we need it instead.
We need to export another function to query for USB presence because
we can't read anything from PCF50633 (via I2C) inside irq context and
that is needed by usb gadgets.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'arch/x86/kernel/microcode_core.c')
0 files changed, 0 insertions, 0 deletions