diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-02-13 21:07:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-13 18:17:39 +0000 |
commit | df20385302eb01cb610b9edc71611a63d1683923 (patch) | |
tree | c35a8eebfb8c9df5978440d5e90e30ff0538e186 /drivers/spi/spi-dw-dma.c | |
parent | fc5b764bef24d0cf722deb5c1a44948cd17d4afe (diff) | |
download | lwn-df20385302eb01cb610b9edc71611a63d1683923.tar.gz lwn-df20385302eb01cb610b9edc71611a63d1683923.zip |
spi: mchp-pci1xxxx: release resources on error in probe()
Call pci_release_regions(pdev) before returning on this error path.
Fixes: 3e7cfd6ad29a ("spi: mchp-pci1xxxx: Add support for DMA in SPI")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://msgid.link/r/efc92197-4023-4bfe-bc63-452e7ed112e8@moroto.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-dma.c')
0 files changed, 0 insertions, 0 deletions