Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1525581rdb; Wed, 31 Jan 2024 00:56:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHcEsbxZ8Nhr108Vi7dSyOvFUVsaHXyk1lhGaxtH4nF66bclPOZd6+Mcgy3Mkk/IFa/KlF X-Received: by 2002:a17:902:e88d:b0:1d8:ee28:a305 with SMTP id w13-20020a170902e88d00b001d8ee28a305mr1092924plg.54.1706691377120; Wed, 31 Jan 2024 00:56:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706691377; cv=pass; d=google.com; s=arc-20160816; b=mKzULgME9To10hco4aJX92XOGLjPkegmt9XoGXWy2FBcMTWoS2qpBv4YLz/iOe0Efh /VitONJcQ81ysLbVCdR6dY5aK8apAdTXpzNXGxBBsZ13p9WU0Ypd9TGkKhuwyfH/7M3X aoMxGBGBALmdYM1OD1uGJYneMTNSL+W7qk69pqETPYl8jrfv319f86GT4EtVW2re64wy ZZILLLgJdTss8yOv5TmhzJ3Xbzt6BTqIsjWuEXc+NMrKUGu2GMFgHCHf486VySnBcb9i pAyxqo6MmBNuKWtwLjCkC+Bim1MkLpuR5nfFxFUvk8jEddbptSZSNLHLSE/Ne0tYqcFE 5RLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=kC7ZUyRsL2RyGSWjt65PVi8O3GPZCvUseI9ixXi4/x4=; fh=mBnOfjEnCPPSuR2XdkduRmaxhalegRE0TME91DZco24=; b=P/AT6K9BLrbWwYraMPmwuAURk3UCS++fShcuY4BNs5w/dGaGWGmQ3SF26cPgtcFdbb XBt4z0FbWjyv+6zavRhBJQWNmP8ySp+w9aJkQSG1krBU5qHdSwWJgL2+X4Tg8Pd5IDgY IbV10E7ufdCIr/NC7asSnl2oRIeD9SG4na7SoH1EnkRfRnm1X/TEmN6/h4q2dgU05NT5 E6UOc07v4EPoVubHk7STKmiz3BnFk1z5SIA+91/rsc+cjEqUQ5E6gpZwB53Etzjl1NGK fII14BHZYwPXI3inLOHfS0d1yziQUZvNexSxNzABIEp/9k1vPe19ToNnJEGHshLqixaF l5Qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qHl11occ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWwvCmfDUDWMOQnWn17Fn/0YGZrw07ajka8ADvHQFHeL0ILJAtviRaQTboNgF2m6H3xr+rZWL5Doa7pyUwbo2mkSZg6mUV4lJVxblnYtA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l6-20020a170902ec0600b001d8d200621bsi5772141pld.545.2024.01.31.00.56.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 00:56:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qHl11occ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46055-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5FFEB28EA10 for ; Wed, 31 Jan 2024 08:54:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD51369950; Wed, 31 Jan 2024 08:44:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qHl11occ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 026AB651B6 for ; Wed, 31 Jan 2024 08:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706690645; cv=none; b=bp7O6OIgFsdecJRmtFfS7s4cfcmRCC7uPv5OuuGDxU57qZl2fQfUum1IdezwZlXpMn+Ojq1xlfi2q9PmfU/SSfMnyrQFQNWXq6/X+lO6bgHVDrXlKjQJ75iNM3TTJt7HD+4WWCUKjKnEv34OlOlgjnS2vllzw9SCvwryzgzbzmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706690645; c=relaxed/simple; bh=d31luWYsuQdq6x9sI290GYoxyL+owfx4MYBc1lDFsLM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SDG9Erq6uzvMmStZB3xnYCmKcNP6Au4hmoTRt3Ydaw0B/wcfuLzZTjUzpyQ/vxqXTmqXMQy8UyO6vQPmTx/LG/gbuh7dL3rCFlKLCD0h30RZo3Und35sPeJsUeS2zzfO1OTrJq+BzUNGk8U/uqNsxWfcaUIksgZEMUU83FHsaMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qHl11occ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB37EC433F1; Wed, 31 Jan 2024 08:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706690644; bh=d31luWYsuQdq6x9sI290GYoxyL+owfx4MYBc1lDFsLM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=qHl11occenh/ZVYFwfCIjM+3JZ6q3MPpatzFQmlli0t11Gb9OgpJphqVURbu5U2VJ OIZZUaRuKh0/OiZvZWf8MouxKYQ49Vmv+Tgfe73F7WYtJu8+W19NiMuwY7ejedOnLA xdloSbMLj7qhEskyFXprMaD7k+lchonf+FGcrlc0p0nTl0bGB4dYXA711e3xS/gTRb tNOFPmL4yfdehh2Rkogvd0PpBE94/hPzGA1DAQo7Jjw7UCQrRVUa3ZJxFIHj5o3K/g NG2XQqxdUJyG0TLmmkgyIqnL7cyATNsEwya/gLRrTjSyS+yaQGJVuA6qOjWWwa8uNO gobBRtnRTVpKg== Message-ID: Date: Wed, 31 Jan 2024 09:44:01 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] soc: mediatek: mtk-socinfo: Fixes and cleanup Content-Language: en-US To: Chen-Yu Tsai , Matthias Brugger , Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, William-tw Lin References: <20240130095656.3712469-1-wenst@chromium.org> From: AngeloGioacchino Del Regno In-Reply-To: <20240130095656.3712469-1-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On Tue, 30 Jan 2024 17:56:50 +0800, Chen-Yu Tsai wrote: > The new mtk-socinfo driver has a double put of the nvmem device used to > read the socinfo data. While fixing it, I rewrote the read function to > make better use of the device node and device relationship. > > Patch 1 rewrites the cell read function in the mtk-socinfo so that no > resource leaks happen, and device lookup is more efficient. > > [...] Applied to v6.8-next/soc, thanks! [1/3] soc: mediatek: mtk-socinfo: Clean up NVMEM cell read commit: 82e5d7d793e8aef1275dae266427cf048a7459d6 [2/3] soc: mediatek: mtk-socinfo: Add extra entry for MT8183 commit: 54d21dea6a6c117f3cab4caa1f9c3ffafb515dd6 Cheers, Angelo