usb: gadget: set gadget state as configured
authorPeter Chen <peter.chen@freescale.com>
Tue, 29 Apr 2014 05:26:28 +0000 (13:26 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 May 2014 17:34:46 +0000 (12:34 -0500)
commit6027f3173e797bf27fc5053aa74c9f40f85538d8
tree7f279f82529406de246f064ccdbccf7d53f135ff
parent1f7fc40876934d52278bb1ee0544191a4b4657f1
usb: gadget: set gadget state as configured

Set gadget device state as configurated after set configuration
has finished.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
drivers/usb/gadget/inode.c