]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usb: musb: blackfin: call gpio_free() on error path in musb_platform_init()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 29 Sep 2010 06:54:31 +0000 (09:54 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:59 +0000 (10:21 -0700)
commit00be545e49d83485d49a598d3b7e090088934be8
tree6016ade32ace6be1c22d1c2adc989abced26d787
parent3daad24d6c72affdd40e8b6a75c87d3c175880b6
usb: musb: blackfin: call gpio_free() on error path in musb_platform_init()

Blackfin's musb_platform_init() needs to call gpio_free() for error cleanup iff
otg_get_transceiver() call returns NULL.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/blackfin.c