Re: [PATCH] wifi: ath9k: return by of_get_mac_address

From: Toke Høiland-Jørgensen
Date: Wed Oct 02 2024 - 04:52:10 EST


Rosen Penev <rosenp@xxxxxxxxx> writes:

> On Tue, Oct 1, 2024 at 1:27 AM Toke Høiland-Jørgensen <toke@xxxxxxx> wrote:
>>
>> Rosen Penev <rosenp@xxxxxxxxx> writes:
>>
>> > It can return -EPROBE_DEFER when using NVMEM. return it so that it gets
>> > forwarded to _init.
>>
>> What bug, if any, does this fix?
> None that I've seen. But the goal is: if ath9k probes before NVMEM,
> defer so that it can get an NVMEM mac address properly.
>
> I think in OpenWrt there are hacks that force ath9k to probe later, I
> think because of the GPIO driver situation there.

Right. Please include this rationale in the patch description :)

-Toke