Re: [PATCHv2] wifi: ath9k: ahb: do ioremap resource in one step
From: Toke Høiland-Jørgensen
Date: Fri May 02 2025 - 05:29:42 EST
Rosen Penev <rosenp@xxxxxxxxx> writes:
> Simplifies probe slightly and adds extra error codes.
>
> Switching from devm_ioremap to the platform variant ends up calling
> devm_request_mem_region, which reserves the memory region for the
> various wmacs. Per board, there is only one wmac and after some fairly
> thorough analysis, there are no overlapping memory regions between wmacs
> and other devices on the ahb.
>
> Tested on a TP-Link Archer C7v2.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>