spi: mpc5xxx-psc: Return immediately if IRQ resource is unavailable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 18:31:12 +0000 (20:31 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2023 13:58:32 +0000 (13:58 +0000)
commit208ee586f86237969a91ac60ea10f48db9135143
tree2879990e455a83c6d20a660ac20e80f929b2b13a
parentee493fa5d91dec02402239a072820b18beb36265
spi: mpc5xxx-psc: Return immediately if IRQ resource is unavailable

Return immediately if IRQ resource is unavailable. This will also
propagate the correct error code in such cases.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230306183115.87314-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mpc512x-psc.c
drivers/spi/spi-mpc52xx-psc.c