diff options
| author | Ming Lei <[email protected]> | 2012-11-06 04:53:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-07 03:53:38 -0500 |
| commit | 6f0a0986e328dd61610d898a09c9f4aa960ae64a (patch) | |
| tree | 8f977eceb56500f10eb5c9e2480622649d78af14 /tools/perf/scripts/python | |
| parent | ec32115db2bcb7133171c6a036107ca7eb62267f (diff) | |
usbnet: runtime wake up device before calling usbnet_{read|write}_cmd
This patch gets the runtime PM reference count before calling
usbnet_{read|write}_cmd, and puts it after completion of the
usbnet_{read|write}_cmd, so that the usb control message can always
be sent to one active device in the non-PM context.
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions