diff options
| author | Akeem G. Abodunrin <[email protected]> | 2013-05-02 02:57:44 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-05-21 02:19:03 -0700 |
| commit | 6c1d8b96d09ed8852f5bc11c42374be3232374ce (patch) | |
| tree | f9ebfcd1f4055f791992321a68fddc474ddfe96f /tools/perf/scripts/python/bin | |
| parent | 603cdca9805e4f8001cf7ffbd8c539c9fa6674ce (diff) | |
e1000e: Release mutex lock only if it has been initially acquired
This patch fixes the issue of unlocking swflag_mutex for 82574 and 82583
devices regardless of if the hw semaphore has been successfully acquired via
e1000_get_hw_semaphore_82574(). With this patch, unlocking mutex now depends
on if the hw semaphore was successfully acquired before. And 82574/82583
devices are reset regardless of whether e1000_get_hw_semaphore_82574()
returns success or failure.
Reported-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Akeem G Abodunrin <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions