diff options
author | Prashanth K <[email protected]> | 2023-02-24 11:16:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-03-09 15:31:15 +0100 |
commit | 2ae4e0dea3b0c7b380821bac05e03a71da1f452f (patch) | |
tree | 1cad5c829c6d4e74138e3d9bb3342300cab84729 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4decf4060ecfee1f7a710999fcd421645ac0c419 (diff) |
usb: gadget: composite: Draw 100mA current if not configured
Currently we don't change the current value if device isn't in
configured state. But in battery charging specification (section
1.2 and 1.4.13), it is mentioned that the device can draw up to
100mA of current if it's in unconfigured state. Hence add vbus
draw work in composite_resume to draw 100mA if the device isn't
configured.
Signed-off-by: Prashanth K <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions