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)
commit1ec9c8a299a4a45ab3e08ba594eec82c425d0918
tree7ed99e360f2f0b2ce93228177c706e9af2f91599
parent00c16f9f916eef8999065f72567c7cf08582517c
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