Re: [PATCH] crypto: aspeed: Propagate platform_get_irq() errors
From: Herbert Xu
Date: Fri Jul 17 2026 - 04:18:46 EST
On Fri, Jul 10, 2026 at 04:37:29PM +0530, Narasimharao Vadlamudi wrote:
> platform_get_irq() returns a positive IRQ number on success and a negative
> error code on failure. aspeed_acry_probe() and aspeed_hace_probe()
> already detect negative returns, but both convert every failure to -ENXIO.
>
> Return the original error code so callers can handle errors such as
> -EPROBE_DEFER correctly.
>
> Fixes: 2f1cf4e50c95 ("crypto: aspeed - Add ACRY RSA driver")
> Fixes: 70513e1d6559 ("crypto: aspeed - Fix check for platform_get_irq() errors")
> Signed-off-by: Narasimharao Vadlamudi <ahmisaranrao@xxxxxxxxx>
> ---
> drivers/crypto/aspeed/aspeed-acry.c | 2 +-
> drivers/crypto/aspeed/aspeed-hace.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt