[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <09652279-4148-4db2-b4d9-ef2393f1b0b8@notapiano>
Date: Mon, 8 Jul 2024 15:41:13 -0400
From: Nícolas F. R. A. Prado <nfraprado@...labora.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Chen-Yu Tsai <wenst@...omium.org>
Cc: kernel@...labora.com, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH] nvmem: mtk-efuse: Only register socinfo device if needed
cells are there
On Mon, Jul 08, 2024 at 03:35:42PM -0400, Nícolas F. R. A. Prado wrote:
> Not every efuse region has cells storing SoC information. Only register
> an socinfo device if the required cells are present.
>
> This prevents the pointless process of creating an socinfo device,
> probing it with the socinfo driver only to ultimately error out like so
>
> mtk-socinfo mtk-socinfo.0.auto: error -ENOENT: Failed to get socinfo data
> mtk-socinfo mtk-socinfo.0.auto: probe with driver mtk-socinfo failed with error -2
>
> This issue is observed on the mt8183-kukui-jacuzzi-juniper-sku16
> platform, which has two efuse regions, but only one of them contains the
> SoC data.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@...labora.com>
Sorry, there's an include missing in this patch. I'll send v2 with it added
right away.
Thanks,
Nícolas
Powered by blists - more mailing lists