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>
This commit is contained in:
Andy Shevchenko 2023-03-06 20:31:12 +02:00 • committed by Mark Brown
commit 208ee586f8
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 6 additions and 0 deletions