diff options
author | 2010-06-14 19:42:10 +0900 | |
---|---|---|
committer | 2010-06-30 08:16:05 -0700 | |
commit | b23097b793081358a6d943263c91bae4c955c4e3 (patch) | |
tree | 10537604461025c9983974be9b201b2af15bf003 /lib/bug.c | |
parent | USB: g_serial: don't set low_latency flag (diff) | |
download | wireguard-linux-b23097b793081358a6d943263c91bae4c955c4e3.tar.xz wireguard-linux-b23097b793081358a6d943263c91bae4c955c4e3.zip |
USB: g_serial: fix tty cleanup on unload
Call put_tty_driver() in cleanup function, to fix Oops when trying to open
gadget serial char device after module unload.
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions