]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
usb/s3c-hsudc: fix error path
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 3 Jun 2011 17:50:47 +0000 (19:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Jun 2011 23:28:03 +0000 (16:28 -0700)
commit6bc129532176fcafb4202b73b3f431986391a362
tree4d1473e3c7dfa699074dae02a7e2e63e221f5fb0
parenta6207b17ece4ea40c378233b1ddf2a7f4288419d
usb/s3c-hsudc: fix error path

I doubt the clock is optional. In case it is it should not return with
an error code because we leak everything.

Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c-hsudc.c