]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: r8a66597-udc: add support for set_selfpowered
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Wed, 11 Apr 2012 09:51:28 +0000 (18:51 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:07 +0000 (15:53 +0300)
commit31e9f56a171778a6a250378d06773c4e4465e104
tree7ed99e360f2f0b2ce93228177c706e9af2f91599
parentaa14fb76ac39bafd89930baf492054d80bae1692
usb: gadget: r8a66597-udc: add support for set_selfpowered

The previous code always set to USB_DEVICE_SELF_POWERED in GET_STATUS.
So, this patch adds set_selfpowered().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/r8a66597-udc.c
drivers/usb/gadget/r8a66597-udc.h