USB: garmin_gps: removes usb_reset_device from garmin_close
authorHermann Kneissel <hermann.kneissel@gmx.de>
Sun, 26 Apr 2009 20:42:04 +0000 (22:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:44 +0000 (21:44 -0700)
commitb4072f46e57fe7138f4337840fab736ec43293ca
treecd44061f802c13237991ef0c7e0c6945701245ca
parent9685a59a2bc0e1e85d1848c744214dbe74e9ce7d
USB: garmin_gps: removes usb_reset_device from garmin_close

The following patch removes the call to usb_reset_device which may occur
when closing the driver by implementing a new session initialization
code based on the method used by gpsbabel.

The patch is against  linux-2.6.30-rc3-git1.

Signed-off-by: Hermann Kneissel herkne@users.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/garmin_gps.c