mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
add usb charge config
This commit is contained in:
parent
b448db9497
commit
cb6303521d
|
|
@ -404,6 +404,14 @@ config BATTERY_RK30_ADC_FAC
|
|||
help
|
||||
Say Y to enable support for the battery on the RK30.
|
||||
|
||||
config BATTERY_RK30_USB_CHARGE
|
||||
tristate "RK30 USB CHARGE"
|
||||
depends on BATTERY_RK30_ADC||BATTERY_RK30_ADC_FAC
|
||||
default y
|
||||
help
|
||||
say Y to enable suspport for the USB battery charge
|
||||
|
||||
|
||||
config CHARGER_BQ2415X
|
||||
tristate "TI BQ2415x battery charger driver"
|
||||
depends on I2C
|
||||
|
|
|
|||
|
|
@ -2459,6 +2459,7 @@ static int rk30_adc_battery_probe(struct platform_device *pdev)
|
|||
err_ac_failed:
|
||||
power_supply_unregister(&data ->ac);
|
||||
|
||||
err_usb_failed:
|
||||
err_battery_failed:
|
||||
power_supply_unregister(&data ->bat);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user