mbox series

[0/2] modify power_supply usage in dwc3

Message ID 20210327182809.1814480-1-raychi@google.com
Headers show
Series modify power_supply usage in dwc3 | expand

Message

Ray Chi March 27, 2021, 6:28 p.m. UTC
Currently, the power_supply usage in dwc3 is wrong.
In addition, there is a build error when CONFIG_POWER_SUPPLY
is not enabled. Therefore, these patches will fix the
problems.

Ray Chi (2):
  usb: dwc3: gadget: modify the scale in vbus_draw callback
  power: supply: Fix build error when CONFIG_POWER_SUPPLY is not
    enabled.

 drivers/usb/dwc3/gadget.c    | 2 +-
 include/linux/power_supply.h | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)