net: usb: raw-ip: Fix autopm / system suspend issues.
authorMichael Hsu <mhsu@nvidia.com>
Fri, 24 Feb 2012 05:18:10 +0000 (21:18 -0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 25 Apr 2012 15:46:39 +0000 (08:46 -0700)
commit077c1bf346608626a5573313a041b0e86f58f0b6
tree0b878960a8a9818d3d163b73b7fa1665de65ad99
parent6b9bd6f6e4315a4413359a479d6bc3c0236600d4
net: usb: raw-ip: Fix autopm / system suspend issues.

Add system suspend count and avoid urb activity during
system suspend.  Use async autopm to avoid deadlock with
system suspend.  Do not allocate rx urb's constantly -
allocate once upon init, free rx urb upon exit.

Bug 929408, 952748, 957354

Change-Id: I4ea050fc881528cf44d2039d42891e21c9df8c4e
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
(cherry picked from commit 8bd7322127ccf6727d949f4bc1b2a4eac4b6814e)
Reviewed-on: http://git-master/r/95166
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/net/usb/raw_ip_net.c