usb_wwan: fix error case in close()
authorOliver Neukum <oliver@neukum.org>
Thu, 10 Feb 2011 14:33:37 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:51:13 +0000 (10:51 -0800)
commit9a91aedca2f4ef24344b7cd8f56570e620fbe4d5
treec62af4d5e6c493508b1ddb1b33efbca62a6f67f1
parent16871dcac74c63227aa92e0012f3004a648c2062
usb_wwan: fix error case in close()

The device never needs to be resumed in close(). But the counters
must be balanced. As resumption can fail, but the counters must
be balanced, use the _no_resume() version which cannot fail.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb_wwan.c