OSDN Git Service

platform: msm: Fix USB device does not enumerate in SS mode
authorSriharsha Allenki <sallenki@codeaurora.org>
Tue, 26 Sep 2017 12:56:44 +0000 (18:26 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 26 Sep 2017 19:09:55 +0000 (12:09 -0700)
commit8b53c3c3d624ab08fc6b31b825d14e5f500d7f97
treef8f6fac032765ba2848aa7cc875c3fa3343690cc
parent3ef7befadd2ce581a9fc07236c324dcb5110b7d0
platform: msm: Fix USB device does not enumerate in SS mode

The max speed for the USB device is high speed. So
the device is always enumerated in high speed indpendent
of the connection. Fix this by setting the EXTCON_USB_SPEED
to 1 which in turn sets the max speed as super speed.

CRs-Fixed: 2108100
Change-Id: I8f313cc3ee015a1340ab78650e17334ca85ddd27
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
drivers/platform/msm/gpio-usbdetect.c