Skip to content

Commit

Permalink
Merge branch 'jb39319_hvdcp_support' into 'master'
Browse files Browse the repository at this point in the history
Handle high voltage dedicated chargers

See merge request !30
  • Loading branch information
spiiroin committed Nov 15, 2017
2 parents ddc3b5d + 5f160c5 commit 4b07b39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/usb_moded-udev.c
Expand Up @@ -447,7 +447,9 @@ static void udev_parse(struct udev_device *dev, bool initial)
else
schedule_cable_connection_timeout();
}
else if (!strcmp(tmp, "USB_DCP")) {
else if (!strcmp(tmp, "USB_DCP") ||
!strcmp(tmp, "USB_HVDCP") ||
!strcmp(tmp, "USB_HVDCP_3")) {
setup_charger_connection();
}
else if( !strcmp(tmp, "Unknown")) {
Expand Down

0 comments on commit 4b07b39

Please sign in to comment.