diff options
author | Alan Stern <[email protected]> | 2009-12-13 20:28:30 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2009-12-15 20:42:06 +0100 |
commit | 1d531c14d2ed4b24472a4d773f00ed6d1cd34ee7 (patch) | |
tree | a61fd40d1104c9a02e15baa4496c11e148f20804 /net/lapb/lapb_in.c | |
parent | 8bea8672edfca7ec5f661cafb218f1205863b343 (diff) |
PM: allow for usage_count > 0 in pm_runtime_get()
This patch (as1308c) fixes __pm_runtime_get(). Currently the routine
will resume a device if the prior usage count was 0. But this isn't
right; thanks to pm_runtime_get_noresume() the usage count can be
positive even while the device is suspended.
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions