1
0
Fork 0

usbmisc_imx: set correct description and max current for dedicated supply

5bit-waveforms
Martin T. H. Sandsmark 2017-01-13 17:36:55 +01:00
parent 9259a68ca0
commit 4f842785f0
1 changed files with 3 additions and 0 deletions

View File

@ -551,7 +551,10 @@ static int imx6_charger_data_contact_detect(struct imx_usbmisc_data *data)
if (i == 100) {
dev_err(charger->dev,
"VBUS is coming from a dedicated power supply.\n");
charger->psy_desc.type = POWER_SUPPLY_TYPE_USB_DCP;
charger->max_current = 1500;
imx6_disable_charger_detector(data);
return -ENXIO;
}