aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2011-02-10 06:53:09 +0000
committerDavid S. Miller <[email protected]>2011-02-11 11:38:43 -0800
commit43067ed8aecac4410a0a629e504629ebece35206 (patch)
tree07a008217363f2e89d13341a91a19984bb8be309 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent2866d956fe0ad8fc8d8a7c54104ccc879b49406d (diff)
tg3: Avoid setting power.can_wakeup for devices that cannot wake up
The tg3 driver uses device_init_wakeup() in such a way that the device's power.can_wakeup flag may be set even though the PCI subsystem cleared it before, in which case the device cannot wake up the system from sleep states. Modify the driver to only change the power.can_wakeup flag if the device is not capable of generating wakeup signals. Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Matt Carlson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions