USB: serial gadget: Disable endpoints on unload
authorVitaly Bordug <vitb@kernel.crashing.org>
Wed, 26 Sep 2007 20:36:22 +0000 (00:36 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:30 +0000 (14:55 -0700)
commit437f375f262417b484f28007c3e8d21bd01d0e01
treec687fe67514f56d978a44dae97829319ec89b700
parenta59048d46303c4146993c37f51ed97a760fc4c0a
USB: serial gadget: Disable endpoints on unload

After Serial gadget is being unloaded, neither serial itself, nor other
gadget stuff can be loaded subsequently.

Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/serial.c