Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3089985rdb; Tue, 13 Feb 2024 06:42:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVGGHr8SvLkp9n+GrcYLWTu72EMqgvYn6R/6mBvZn7kyv/01Ca5kKiePRYule4oaQ+zEQauy/Ap4JKnkPtZtLiSgIFUc9LajSkmyOgFNw== X-Google-Smtp-Source: AGHT+IG7KqQRvJaaS4U9Vh5ZTJVUv9a9Fmi0c+Tqxs6EIH8F7p4OvaoIDnFkCsD3qnPEibgcHnQR X-Received: by 2002:a17:902:d4c8:b0:1da:1d05:7a9d with SMTP id o8-20020a170902d4c800b001da1d057a9dmr10616371plg.16.1707835329644; Tue, 13 Feb 2024 06:42:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707835329; cv=pass; d=google.com; s=arc-20160816; b=U14yG+Kq1XZD7xvtNDyKXmf/+3bT6OlDzSGdEoapC2jgdmyAE8RHA06WzFV2S72Lcj gXQR58ldZb0+jHzB5KmBl+BvFZiyqGWDEg5Dsda6JwlXn5XwZq1Tjqo+x2JKyQO+NcY8 sbdV/bZ0S2LpJCyeB/yzbg+aeafaUlS8pc6h4TObSSnfaWdUE2TL5g/WBnDNC+iZpLfI l/2EugdR3t7WwKV7PKMv/xwSsOR2BK7A1Ve8iaRrt+w9G/nT7+GX8R7kSNim3c32O9iO BjHUAJfpN1N8L1wV55oN0Lzq2mEktp4CqQJymVC2OW3Z+VANQsEriyqrg1fC5LRWYg0/ Qp9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=AwSTu8c9+qn7K/wj1Yj/0NOW4PVVyZ52gG9hFp6sXb4=; fh=KsZC6lLHduJSBN+NiYljKV2JqIC0LXd6ZC8wtxZ8tZs=; b=IXL5T9oXcQD+EeIRYtY92t6U81B75jhIUdUXaQ779rTIhsD3OWFPncRM01NBgaK7E4 jO5zM+kTJFo3tzaF5F8ReHM67ZY/GffaPJwEwWivhykcQn72qAnJzOhm9Gt1Kl2wonkC 2QiXM0uMe6bawDzz7m1qz1Nd7bthn4SvMoanEAgcHeWQKUv6jrV/QEgsWiPWi1C6/7Z/ zixcrzZUpyhPWo8FEko0riOX8E0Dw4jiqoRbkfEwv9WBnWGFTxCukkRZorxlq8VgZJ3H KTLOQyJXvWcSLrd6xqK36aJHQVHA6Xs02/CAIdOuYIS9quuoMG8m3QCEyzNVxsQGbnnz iqwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X4+MRCjR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-63686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUf2JCdQ4v4Db+KeVKe2sXgx8dSE7C28kY3y2urYBj6X+Ja964oF5Tl0KxVOcBg7PVoqkfTOd4zr/cxMCxRBWE2hW0al1Gs4nOq1rAOaQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h8-20020a170902748800b001d8b8e25e6asi2103579pll.611.2024.02.13.06.42.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:42:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X4+MRCjR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-63686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B5A84B231BF for ; Tue, 13 Feb 2024 14:37:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FFD457868; Tue, 13 Feb 2024 14:36:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X4+MRCjR" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD2BD58121 for ; Tue, 13 Feb 2024 14:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707834991; cv=none; b=FS5jxw/V8Vlx30l9xkBaTx5o0tt4tJFtW01nbUBVrM6QEX2zAR8FdXp42IdElyXWF87sbVRBmIPQ8aDHTvqWAU/ybKfX+yi91SixNDYyv/cUp+cxXCk15206OZLbrBSZtMpAfilpJeM9GUYTGA6XBP6OHcdKjQtXWmMqLjX8IRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707834991; c=relaxed/simple; bh=G3u3Fj+XVuIDMGnnwZ/Mf59zPbT/jm0NzHnpO7uiiEk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=f0qCYKjNbUu+I2PevTet9lEP58cl0SspJVLE5ETEFZQ89xKHMz3fePLbF+0nrRTKvk8iOqkXFZIuvWt5YRMcqlBsylyKUnW2OHVGidWIr4uxOxjAlAbk9j2TQwWJwJ6bnIks2MWoaTNkKt5OXmwnYnfJLCKwIgD9bokn6o9fmZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=X4+MRCjR; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55a90a0a1a1so6152811a12.0 for ; Tue, 13 Feb 2024 06:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707834988; x=1708439788; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AwSTu8c9+qn7K/wj1Yj/0NOW4PVVyZ52gG9hFp6sXb4=; b=X4+MRCjRuIfq4DYi+Pq6T9R8u1OZydSz2DehCsqC7pt89JJgPSRzNd0MTa4XLV5C3X s+gKb82vAUL36ZpAfw12m/Vpg6v8nCjPvUvGdqOEpD+99pLH+7951YXfwCr54/hKZU+1 9XUD4Ndk/doohG3O5PWNKxXDuEVPXg68waxQEGmrVdky9FP+dmoLtTQM5RTY23IRiZHJ 1/UYpjlNcBUWw0CNENJhScJEZv5+XeL2qC59/K0ShSJLwrcMkqEiGHk+xCxzRKBCB0pV kD3U8Gn1GWYMFMYqeG8JQSKAwGiw0dqWeHPoyr637koDo9RhDwF+RNZjpY9SuTt2p4ug 2HXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707834988; x=1708439788; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AwSTu8c9+qn7K/wj1Yj/0NOW4PVVyZ52gG9hFp6sXb4=; b=DgpQJzu0VB+TO+EJOdWd50xDQb/q0dMXSn4mCtGTkDZXdX2rkmZ5kLieoQ6RTMWi3j U4MlVXu+KlgfDwDCKOrS/P+r0Iog8yxrc1sw8ehLq67pz4ArYYScg+oJny9awVi5xkj8 g173lYZbeBfqeh3VqajlQEqfQNRptCBw9HqtHHBNxc+faReK/2MQh53eS8n+vOgNlvcT M7B/1myb5MAN/Jl3aAESZKFBMM0kM+k/84b8aInlkqe8nr3MSGVUktm0ogKHgXp81eMO hkKFIfr8cBC9codFt1L8XgEib25tDQvNQCTPM1wZzO1nbTii73jAPbFwy9Qn4fjwbvo6 Yt0g== X-Gm-Message-State: AOJu0Yxig1D9yRqRY/Y+oXZEGUcYs8gfHHUTMiCaWYOfNM/lscsKW3uh oVtbrgxDym7OUxOTTgEKyCc6l2NPwcR9m4QF6UXZ8oRUg9XNb3qk5fljKu6EnAI= X-Received: by 2002:a05:6402:31a1:b0:561:8918:9f5d with SMTP id dj1-20020a05640231a100b0056189189f5dmr5613758edb.20.1707834987982; Tue, 13 Feb 2024 06:36:27 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVXg13xPEGFVWMYvqH44/VdTQLrKxPXlhHGHNZ5XQjfSYTplx8peZ1KfqNcaIA5Iwl8OsJ/l9ZncWjcPbpkWKsah6sqzAuX6hGPFEZxc78H+3sC/5WmbtPvCVwAZVz3X0Nfp3GCWIgmX88Y6trfce5Wwi8eOKgEy7rCii2wR027nVxlV5IWyPI1Ta2jmk1NNsEUfurXc1nK4Acv+RiCtwU650PxrQV0Ea/WQmwBWYvs8Vknx2AQo6uo73K20BNUmkz3qftZxOKWAm+0xhZoblSGFlo= Received: from srini-hackbase.lan ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id j1-20020a50ed01000000b00560ecb22d49sm3688362eds.84.2024.02.13.06.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:36:27 -0800 (PST) From: Srinivas Kandagatla To: Matthias Brugger , AngeloGioacchino Del Regno , Chen-Yu Tsai Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, William-tw Lin In-Reply-To: <20240130095656.3712469-1-wenst@chromium.org> References: <20240130095656.3712469-1-wenst@chromium.org> Subject: Re: (subset) [PATCH 0/3] soc: mediatek: mtk-socinfo: Fixes and cleanup Message-Id: <170783498706.33763.10510416022837379654.b4-ty@linaro.org> Date: Tue, 13 Feb 2024 14:36:27 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.2 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, thanks! [3/3] nvmem: mtk-efuse: Drop NVMEM device name commit: eadaa6f9aaf682b1840bf08a8320907de4e32d50 Best regards, -- Srinivas Kandagatla