On Fri, Jun 03, 2011 at 08:07:55PM +0200, Sebastian Andrzej Siewior wrote: > From: Felipe Balbi <balbi@xxxxxx> > > this class will be used to abstract away several of the duplicated > operations scattered among the USB gadget controller drivers. > > Later, we can add an atomic notifier to tell interested drivers about > what's happening with the controller. Notifications such as suspend, > resume, enumerated, etc. will be useful, at a minimum, for implementing > usb charger detection. > > As part of the converting process usb_gadget_probe_driver() is no longer > part of each udc but pushed into the ->stap() callback. The same for his > couterpart. > > The core is currently set explicit to 'n'. It will be changed to 'y' once > all users are converted since it provides functions which clash with > other drivers. > > Signed-off-by: Felipe Balbi <balbi@xxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Applied, thanks. Added Michal's acked-by too. Second patch doesn't apply cleanly though: patching file drivers/usb/gadget/pxa25x_udc.c Hunk #6 succeeded at 2236 with fuzz 2 (offset 2 lines). Hunk #7 succeeded at 2268 (offset 1 line). patching file drivers/usb/gadget/pxa27x_udc.c patching file drivers/usb/gadget/r8a66597-udc.c patching file drivers/usb/gadget/s3c-hsotg.c patching file drivers/usb/gadget/s3c-hsudc.c Hunk #5 FAILED at 1310. 1 out of 5 hunks FAILED -- saving rejects to file drivers/usb/gadget/s3c-hsudc.c.rej patching file drivers/usb/gadget/s3c2410_udc.c patching file drivers/usb/musb/musb_gadget.c patching file drivers/usb/renesas_usbhs/mod_gadget.c Hunk #7 FAILED at 1368. 1 out of 7 hunks FAILED -- saving rejects to file drivers/usb/renesas_usbhs/mod_gadget.c.rej -- balbi
Attachment:
signature.asc
Description: Digital signature