[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6ff2ff3-f249-4fd4-b152-843e2872b1af@wesion.com>
Date: Thu, 29 Aug 2024 08:05:43 +0800
From: Jacobe Zang <jacobe.zang@...ion.com>
To: Simon Horman <horms@...nel.org>
Cc: Kalle Valo <kvalo@...nel.org>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, van Spriel <arend@...adcom.com>,
Arend van Spriel <arend.vanspriel@...adcom.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
brcm80211@...ts.linux.dev, brcm80211-dev-list.pdl@...adcom.com,
Ondrej Jirman <megi@....cz>, Sai Krishna <saikrishnag@...vell.com>
Subject: Re: [PATCH v13 4/5] wifi: brcmfmac: Add optional lpo clock enable
support
On 2024/8/28 23:20, Simon Horman wrote:
> On Wed, Aug 28, 2024 at 04:49:25PM +0800, Jacobe Zang wrote:
>> WiFi modules often require 32kHz clock to function. Add support to
>> enable the clock to PCIe driver and move "brcm,bcm4329-fmac" check
>> to the top of brcmf_of_probe. Change function prototypes from void
>> to int and add appropriate errno's for return values that will be
>> send to bus when error occurred.
>>
>> Co-developed-by: Ondrej Jirman <megi@....cz>
>> Signed-off-by: Ondrej Jirman <megi@....cz>
>> Co-developed-by: Arend van Spriel <arend.vanspriel@...adcom.com>
>> Signed-off-by: Arend van Spriel <arend.vanspriel@...adcom.com>
>> Reviewed-by: Sai Krishna <saikrishnag@...vell.com>
>> Signed-off-by: Jacobe Zang <jacobe.zang@...ion.com>
>
> ...
>
>> @@ -4452,7 +4454,9 @@ struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
>> /* Allocate private bus interface state */
>> bus = kzalloc(sizeof(*bus), GFP_ATOMIC);
>> if (!bus)
>> + ret = -ENOMEM;
>> goto fail;
>> + }
>>
>
> Perhaps a local change didn't make it into git, or something like that.
> But this does not compile. As was also the case in v12.
> Please take time to test your patches, not just the local tree.
>
Thanks for your correction. I will fix it.
>> bus->sdiodev = sdiodev;
>> sdiodev->bus = bus;
>
--
Best Regards
Jacobe
Powered by blists - more mailing lists