aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmitkumar Karwar <[email protected]>2011-12-08 20:41:03 -0800
committerJohn W. Linville <[email protected]>2011-12-13 15:33:20 -0500
commit8c53e42dea5905aee2a97e6af5874432f27b5c03 (patch)
tree443f3dbec3cda5786e122ad495b0facda0badb0b /tools/perf/scripts/python
parentb0327ffa8cfe69ce2d380200c2097b86c6b3efd9 (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