aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorThinh Nguyen <[email protected]>2020-02-03 18:05:32 -0800
committerFelipe Balbi <[email protected]>2020-03-15 12:10:14 +0200
commit5e5caf4fa8d3039140b4548b6ab23dd17fce9b2c (patch)
tree4ef56cefd49f0e8246ba26c92dfc4c60a80c4c2c /lib/mpi/mpi-mod.c
parenteeead847487f726fa177d0f4060c4f0816ad9cd9 (diff)
usb: gadget: composite: Inform controller driver of self-powered
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: [email protected] Fixes: 88af8bbe4ef7 ("usb: gadget: the start of the configfs interface") Signed-off-by: Thinh Nguyen <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions