[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<TYZPR03MB70017924E5899C5103180E9880B72@TYZPR03MB7001.apcprd03.prod.outlook.com>
Date: Mon, 29 Jul 2024 07:17:00 +0000
From: Jacobe Zang <jacobe.zang@...ion.com>
To: Dragan Simic <dsimic@...jaro.org>
CC: "robh@...nel.org" <robh@...nel.org>, "krzk+dt@...nel.org"
<krzk+dt@...nel.org>, "heiko@...ech.de" <heiko@...ech.de>, "kvalo@...nel.org"
<kvalo@...nel.org>, "davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>, "kuba@...nel.org"
<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
"conor+dt@...nel.org" <conor+dt@...nel.org>, "arend.vanspriel@...adcom.com"
<arend.vanspriel@...adcom.com>, "efectn@...tonmail.com"
<efectn@...tonmail.com>, "jagan@...eble.ai" <jagan@...eble.ai>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-rockchip@...ts.infradead.org"
<linux-rockchip@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "arend@...adcom.com" <arend@...adcom.com>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, "megi@....cz"
<megi@....cz>, "duoming@....edu.cn" <duoming@....edu.cn>,
"bhelgaas@...gle.com" <bhelgaas@...gle.com>, "minipli@...ecurity.net"
<minipli@...ecurity.net>, "brcm80211@...ts.linux.dev"
<brcm80211@...ts.linux.dev>, "brcm80211-dev-list.pdl@...adcom.com"
<brcm80211-dev-list.pdl@...adcom.com>, Nick Xie <nick@...das.com>
Subject: Re: [PATCH v4 4/5] wifi: brcmfmac: Add optional lpo clock enable
support
>> + clk = devm_clk_get_optional_enabled(dev, "lpo");
>> + if (IS_ERR(clk))
>> + if (clk) {
>
> These two lines looks really confusing. Shouldn't it be just a single
> "if (!IS_ERR(clk)) {" line instead?
Thanks for the correction... I forgot to organize this...
---
Best Regards
Jacobe
Powered by blists - more mailing lists