public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] modify power_supply usage in dwc3
@ 2021-03-27 18:28 Ray Chi
  2021-03-27 18:28 ` [PATCH 1/2] usb: dwc3: gadget: modify the scale in vbus_draw callback Ray Chi
  2021-03-27 18:28 ` [PATCH 2/2] power: supply: Fix build error when CONFIG_POWER_SUPPLY is not enabled Ray Chi
  0 siblings, 2 replies; 3+ messages in thread
From: Ray Chi @ 2021-03-27 18:28 UTC (permalink / raw)
  To: balbi, gregkh, sre; +Cc: linux-usb, linux-kernel, kyletso, badhri, Ray Chi

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(-)

-- 
2.31.0.291.g576ba9dcdaf-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-27 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-27 18:28 [PATCH 0/2] modify power_supply usage in dwc3 Ray Chi
2021-03-27 18:28 ` [PATCH 1/2] usb: dwc3: gadget: modify the scale in vbus_draw callback Ray Chi
2021-03-27 18:28 ` [PATCH 2/2] power: supply: Fix build error when CONFIG_POWER_SUPPLY is not enabled Ray Chi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox