diff options
| author | Amitkumar Karwar <[email protected]> | 2011-12-08 20:41:03 -0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-12-13 15:33:20 -0500 |
| commit | 8c53e42dea5905aee2a97e6af5874432f27b5c03 (patch) | |
| tree | 443f3dbec3cda5786e122ad495b0facda0badb0b /tools/perf/scripts/python | |
| parent | b0327ffa8cfe69ce2d380200c2097b86c6b3efd9 (diff) | |
mwifiex: failure case handling for PCIe events
Event buffers for PCIe interface are allocated during driver
initialisation, and respective physical addresses are sent to FW
in *_PCIE_DESC_DETAILS command so that FW can do DMA. These buffers
will be freed while unloading the driver. Therefore we should not
free them in event handling error path. Also we should skip next
pending events in failure case.
Also fixed 'returning -1 instead of -ENOMEM is sloppy' warnings.
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions