ab8500-charger: Use USBLink1Status Register
authorMarcus Cooper <marcus.xm.cooper@stericsson.com>
Thu, 30 Aug 2012 12:12:53 +0000 (14:12 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:48 +0000 (12:35 +0800)
commit88efdb8022f13c198fe4459e6e278f9b559cff3b
treed52e8da64dbf161e97ffaca160cfeb935b90a790
parent861a30da53e2c5b9823b5390c1757baaf8f6e356
ab8500-charger: Use USBLink1Status Register

The newer AB's such as the AB8505, AB9540 etc include a
USBLink1 Status register which detects a larger range of
external devices. This should be used instead of the
USBLine Status register.

Signed-off-by: Marcus Cooper <marcus.xm.cooper@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Hakan BERG <hakan.berg@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Yang QU <yang.qu@stericsson.com>
drivers/power/ab8500_charger.c