]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: at91udc: don't overwrite driver data
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 20 Jul 2012 18:34:24 +0000 (20:34 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 16:52:29 +0000 (19:52 +0300)
commit5c83db463137f373fd0a2963c208ad79aa3d5dd3
tree1535ac7e6b3256dd0d1ad27f45d8aa2d73e77092
parentca8be5027618be27b4c68e4efe583a49b7400d77
usb: gadget: at91udc: don't overwrite driver data

The driver was converted to the new start/stop interface in 91969321eb
("usb: gadget: at91_udc: convert to new style start/stop interface").
I overlooked that the driver is overwritting the private data which is
used by the composite framework. The udc driver doesn't read it, it is
only written here.

Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Tested-by: Mario Isidoro <Mario.Isidoro@tecmic.pt>
Cc: <stable@kernel.org> # v3.5
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/at91_udc.c