usb: cdc-acm: fix anchored urb leak
authorVinayak Pane <vpane@nvidia.com>
Mon, 27 Feb 2012 01:32:13 +0000 (17:32 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 05:55:10 +0000 (10:55 +0530)
commit37327606fea4fa57c6a57c477bda10dfc68c4e07
tree93dc0fe36014c7e0eacb2e304c692bcd5cbe0954
parent9c47040acbe7867645fab50b7abe905c93104ac7
usb: cdc-acm: fix anchored urb leak

Anchored urbs needs to put ref count after unanchoring
them at resume.

Bug 944250

Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/86015
(cherry picked from commit eb88ad392bdc05ce216d6adeec54c4f4856ec78a)

Change-Id: I7e5413fb8866db9a15da57166402cb567f07391a
Reviewed-on: http://git-master/r/96333
Tested-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
drivers/usb/class/cdc-acm.c