On Thu, Jul 16, 2026 at 02:52:19PM +0800, [email protected] wrote:
> From: GuoHan Zhao <[email protected]>
> 
> devm_platform_ioremap_resource() returns an error pointer when the register
> resource cannot be mapped. ethosu_probe() stores it and continues until
> initialization dereferences it through MMIO accessors.
> 
> Return the mapping error before initializing the device.
> 
> Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
> Cc: [email protected]
> Signed-off-by: GuoHan Zhao <[email protected]>
> ---
>  drivers/accel/ethosu/ethosu_drv.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

Rob

Reply via email to