Hi > -----Original Message----- > From: [email protected] [mailto:linux-usb- > [email protected]] On Behalf Of Baolin Wang > Sent: Monday, June 13, 2016 4:47 PM > To: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected] > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; linux- > [email protected]; [email protected]; linux- > [email protected] > Subject: [RESEND PATCH v11 2/4] gadget: Support for the usb charger > framework > > For supporting the usb charger, it adds the usb_charger_init() and > usb_charger_exit() functions for usb charger initialization and exit. > > It will report to the usb charger when the gadget state is changed, then > the usb charger can do the power things. > > Signed-off-by: Baolin Wang <[email protected]>
Reviewed-by: Li Jun <[email protected]> Tested-by: Li Jun <[email protected]> > --- > drivers/usb/gadget/udc/udc-core.c | 11 +++++++++++ > include/linux/usb/gadget.h | 11 +++++++++++ > 2 files changed, 22 insertions(+)

