[PATCH] crypto: aspeed: Propagate platform_get_irq() errors

Herbert Xu herbert at gondor.apana.org.au
Fri Jul 17 01:17:09 PDT 2026


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 at gmail.com>
> ---
>  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 at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list