usb: renesas_usbhs: gadget: add support for set_selfpowered
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Fri, 16 Mar 2012 04:10:15 +0000 (13:10 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:05 +0000 (15:53 +0300)
commitcac402dd0832e9c63929eff70d6766cd8623e5fc
tree7238b823c55e9defe7ff725ca58577b195f4f789
parentf99987bb261ed80f645ed0acd13732922ca10138
usb: renesas_usbhs: gadget: 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/renesas_usbhs/mod_gadget.c