android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thinh Nguyen 78a92756fc usb: gadget: composite: Inform controller driver of self-powered
commit 5e5caf4fa8d3039140b4548b6ab23dd17fce9b2c upstream.

Different configuration/condition may draw different power. Inform the
controller driver of the change so it can respond properly (e.g.
GET_STATUS request). This fixes an issue with setting MaxPower from
configfs. The composite driver doesn't check this value when setting
self-powered.

Cc: stable@vger.kernel.org
Fixes: 88af8bbe4e ("usb: gadget: the start of the configfs interface")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-17 10:50:06 +02:00
..
atm
c67x00
cdns3 usb: cdns3: gadget: toggle cycle bit before reset endpoint 2020-03-12 13:00:18 +01:00
chipidea usb: chipidea: host: Disable port power only if previously enabled 2020-01-14 20:08:19 +01:00
class USB: cdc-acm: restore capability check order 2020-04-01 11:02:14 +02:00
common
core usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters 2020-03-25 08:25:50 +01:00
dwc2 usb: dwc2: Fix in ISOC request length checking 2020-02-28 17:22:26 +01:00
dwc3 usb: dwc3: core: add support for disabling SS instances in park mode 2020-04-17 10:50:04 +02:00
early
gadget usb: gadget: composite: Inform controller driver of self-powered 2020-04-17 10:50:06 +02:00
host xhci: bail out early if driver can't accress host in resume 2020-04-17 10:50:01 +02:00
image
isp1760
misc USB: misc: iowarrior: add support for the 100 device 2020-02-28 17:22:14 +01:00
mon
mtu3
musb usb: musb: fix crash with highmen PIO and usbmon 2020-04-01 11:02:15 +02:00
phy
renesas_usbhs
roles
serial USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback 2020-04-01 11:02:15 +02:00
storage usb: storage: Add quirk for Samsung Fit flash 2020-03-12 13:00:18 +01:00
typec usb: typec: ucsi: displayport: Fix a potential race during registration 2020-03-25 08:25:51 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c