diff options
author | 2020-09-15 09:22:49 +0800 | |
---|---|---|
committer | 2020-09-17 19:56:04 +0100 | |
commit | 9599f341889c87e56bb944659c32490d05e2532f (patch) | |
tree | 22b2c9af738b65648bffe72d7be82a9aeb4519d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: spi-nxp-fspi: Add ACPI support (diff) | |
download | wireguard-linux-9599f341889c87e56bb944659c32490d05e2532f.tar.xz wireguard-linux-9599f341889c87e56bb944659c32490d05e2532f.zip |
spi: dw-pci: free previously allocated IRQs if desc->setup() fails
Free previously allocated IRQs when return an error code of desc->setup()
which is not always successful. And simplify the code by adding a goto
label.
Fixes: 8f5c285f3ef5 ("SPI: designware: pci: Switch over to MSI interrupts")
CC: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1600132969-53037-1-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions