diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-09-29 09:54:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-22 10:47:36 -0800 |
commit | 2e44efff4dd178ca52f49d9c487951d5e5bbc7cc (patch) | |
tree | d1639724124bf55bb6446824891cebfcf5b9236f /lib/string_helpers.c | |
parent | 605c6c2c11a74af2bc05e187072a65ee00131162 (diff) |
usb: musb: blackfin: call gpio_free() on error path in musb_platform_init()
commit 00be545e49d83485d49a598d3b7e090088934be8 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions