Messages in this thread | | | Date | Thu, 7 Oct 2010 10:51:03 -0700 | From | Greg KH <> | Subject | Re: [PATCH] usb: gadget: langwell_udc: Fix error path |
| |
On Thu, Oct 07, 2010 at 09:22:06AM +0530, Rahul Ruikar wrote: > Fix for following cases > - Call device_unregister() only when device_register() succeeds. > - Call put_device() when device_register() fails. > - Call device_remove_file() only when device_create_file() succeeds. > > Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com> > --- > drivers/usb/gadget/langwell_udc.c | 14 +++++++++++--- > drivers/usb/gadget/langwell_udc.h | 4 +++- > 2 files changed, 14 insertions(+), 4 deletions(-)
This patch doesn't apply at all to my tree. Can you redo it against the latest linux-next release?
thanks,
greg k-h
| |