mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
usb: musb: blackfin: call usb_nop_xceiv_unregister() in musb_platform_exit()
commit 3daad24d6c upstream.
Blackfin's musb_platform_exit() forgets to call usb_nop_xceiv_unregister().
While fixing this, also remove the unneeded blank line there.
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e3fddc7bfa
commit
18121c81e9
@@ -394,9 +394,9 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
|
||||
|
||||
int musb_platform_exit(struct musb *musb)
|
||||
{
|
||||
|
||||
gpio_free(musb->config->gpio_vrsel);
|
||||
|
||||
otg_put_transceiver(musb->xceiv);
|
||||
usb_nop_xceiv_unregister();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user