]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: imx_udc: fix gadget->dev registration
authorFelipe Balbi <balbi@ti.com>
Mon, 25 Feb 2013 19:17:59 +0000 (21:17 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Mar 2013 07:33:28 +0000 (09:33 +0200)
commit06700bd8614597dfa55e0441bd2ad1226f62a598
tree4646206f113a6915d7931940ec5c23c24e936243
parent8d4148bfcae860df4748bd942e040c484070e763
usb: gadget: imx_udc: fix gadget->dev registration

Whenever ->udc_start() gets called, gadget driver
has already being bound to the udc controller, which
means that gadget->dev had to be already initialized
and added to driver model.

This patch fixes imx_udc mistake.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/imx_udc.c