commit | fe2a4297b40c0ccee0e2276b06fb0afe1fc63da4 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Feb 25 08:49:05 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Mar 04 09:33:26 2013 +0200 |
tree | 200fb8aae31267c4566dbf1c73eb405aac7fb82e | |
parent | 2b7dc3b1a6cd23cb75ada8505fa80687acd4fa04 [diff] |
usb: gadget: pxa27x: 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 pxa27x mistake. Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Felipe Balbi <balbi@ti.com>