diff options
author | Maksim Lukoshkov <[email protected]> | 2021-09-01 18:36:07 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2021-09-17 11:05:12 +0800 |
commit | 9832fdc917de0f28772558688d7fa6c097c9c6cc (patch) | |
tree | 2cb9e8cb4a353dca3486f79667610c09a23d6611 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0e64dcd7c94b94f90b820bfbe57bbcea8bf21545 (diff) |
crypto: qat - free irqs only if allocated
Change the irq allocation logic so that it is possible to free only the
allocated irqs in case of error.
A new flag is introduced for every PF/VF interrupt. This flag is set to
"true" only when the interrupt is requested.
During clean up, devm_free_irq() is only called if this flag is set.
Signed-off-by: Maksim Lukoshkov <[email protected]>
Co-developed-by: Wojciech Ziemba <[email protected]>
Signed-off-by: Wojciech Ziemba <[email protected]>
Reviewed-by: Giovanni Cabiddu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions