r8152: wake up the device before dumping the hw counter
authorhayeswang <hayeswang@realtek.com>
Tue, 8 Jul 2014 06:49:28 +0000 (14:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 02:41:43 +0000 (19:41 -0700)
commit0b0302449110ca5ca4350458ed57b971fcb78ec1
treeb5d0bf07e41250e5883cd1ea8b0f567152d65fdc
parent36beddc272c111689f3042bf3d10a64d8a805f93
r8152: wake up the device before dumping the hw counter

The device should be waked up from runtime suspend before dumping
the hw counter.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c