mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
add usb charge config
This commit is contained in:
@@ -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 @@ err_sysfs:
|
||||
err_ac_failed:
|
||||
power_supply_unregister(&data ->ac);
|
||||
|
||||
err_usb_failed:
|
||||
err_battery_failed:
|
||||
power_supply_unregister(&data ->bat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user