Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1565223rbb; Mon, 26 Feb 2024 13:38:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxAlJujwdvpKiX5WeRbYitvxqmPQmC7nqmSA4sRLRDR2RatSxAHeTBz0UaE8MmaOMM1tkKBjZ/thgQjDpH+s8yNB0QK388nCKzDlIWHA== X-Google-Smtp-Source: AGHT+IE5BdxByqt/R/0Z8mYjO6nEMFquCwfCkNhsqn/06vIVq4uWPEVKZLmo2xi6P3i7NTsY2TAx X-Received: by 2002:a05:6a20:6f0a:b0:1a0:f614:8480 with SMTP id gt10-20020a056a206f0a00b001a0f6148480mr418916pzb.58.1708983482847; Mon, 26 Feb 2024 13:38:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708983482; cv=pass; d=google.com; s=arc-20160816; b=TnqhNpCdd01neYjeueq8qtwa52hmYGKb/272v5mvscnRTP0i8i2kFHS3BmXwhR9El9 NlLDwh3Rb/k5sS9ebVn0Q7DHCPR35/USd29KBoSHNCuIfXTmCgIowtktiG8NfMdFFKHW FLIrFtWWFaeQjp2bcG3Ccp6VzsUtT2jMBcmlyK9fT4OjqTuLC0tiulHjRmhu2K2XpRUo HQH921qJ3XGjuILudo9dyq8Tat4V/bMSrFQLI3998o7YshUlTadd2IgoqNNjstRgqQlR qiiFsi61GJ6HoIVX8pEpV0SlKryIEAFkj3Y3HMGbfBUtvbP0mtx0tCMBAK1mQZEG5HBm hN/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=MBraTxg36JnBgn9IHlJS8oYwzkoIrEXfS54YRSZA81I=; fh=TQLFXyvd9Tps45BdjUS6iafgoPq1GcNVUSoD1N5uPW8=; b=Tme4RnSLZuXPmJFkz7dJJnR7JIBCvWbB+jRpep0+ugZzRRBdGiDTUpqdKL2Lb1ngA0 VC8I8PPSDQ8/bNb3be++ieZYtVeHK+j9k7aCXlCbzZuC36bXI9Rrgg4Xh7atmRFXtTz+ NjhIlDzF12f9aqx8Z7wEsm9N7AedH4ZKsjeuYysYhiyvjk0J5YRTc47SHtzN7lxkJV+f KX2pE+Chaxpq8+weLu2Kuy4EI0CWmm9iDD+2TC0D+7m8y8t/bnA/kbbBgYDaIu+VQXk6 dRH1SPy//xJXglov0yjOZ6kLgOK7MNrMsfvdPatfuICp0+6UGMIrQ4T/HqYHxP1leEOb WX2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vZsFFDfr; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-82349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y1-20020a655281000000b005dc4ec6cd2esi4237623pgp.767.2024.02.26.13.38.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:38:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vZsFFDfr; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-82349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 00113B23681 for ; Mon, 26 Feb 2024 21:31:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E82712C7F6; Mon, 26 Feb 2024 21:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="vZsFFDfr" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 C797F130AEA for ; Mon, 26 Feb 2024 21:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708983102; cv=none; b=PlqSZL3ZOcsr6QZRaebQVYVAUpLpKEttpQma5P4zPAN2zBgoIeiQKkvDQFmOv1qn/wIvESD/pWv8ED+ThrjrmmnBnJ4wEBto6bwAPlmSKCwMFx3lWAcK3xJaiATL+ubGo8iyOTk/zj1cZ53ct368p0qZ/hS9SPrNE8ssGo9POng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708983102; c=relaxed/simple; bh=Nw8AqS3nu8azYAdACy/sJRukGGhmKt9W7YfvtYGs9vU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=UmGpopW6o6mJYlHdZilSeXN0Itm/XWG+t9X/QLxF782c7WPSeQSIBuZS1LCuuQEFoWJqS3iMcZOVpr8pP8SF3uNZudPxxhf2xD/XYjSeX0hZq94pBcuD3y1Rs3AEtyHo0bEqYXawGl4I7eQRBYK5G1XPv0eekBwZByiDf593H0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=vZsFFDfr; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1708983099; bh=Nw8AqS3nu8azYAdACy/sJRukGGhmKt9W7YfvtYGs9vU=; h=From:Date:Subject:To:Cc:From; b=vZsFFDfr3tqoQUbJYo1Y8oY/iBf7c396i8DkxKlJL/PFsU46fj1tdhbNK1gXRpxkl maRB5srslRsUlKsXw/4u7xpVkYBMtpAHOWaOpX30ZlObwjG1tYCI06GnVWJUTzitnj Z+y4NU7KVOuKj8W9F7SQUPobZA1+SC2dIgPGM7Gzm3g65OMLrD6amaRTpudMnWDJxo DU4sluuy61XFb/mRdFEEQaS88Zp5EBTIL5rtS8M6BqhWaXS22RR6MMk01LyPzeYEzy Gj52FWF4t7ylzPwOesB1SJWp/QVmC+vMsqqhQ/Fi/cI5MFinsZqUj7nuB/nvXupaPp C+cPEHvohW7Zg== Received: from [192.168.1.151] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 610EB3782075; Mon, 26 Feb 2024 21:31:37 +0000 (UTC) From: =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Date: Mon, 26 Feb 2024 16:31:33 -0500 Subject: [PATCH] soc: mediatek: cmdq: Don't log an error when gce-client-reg is not found 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: 8bit Message-Id: <20240226-gce-client-reg-log-dbg-v1-1-f0fff97c30c7@collabora.com> X-B4-Tracking: v=1; b=H4sIADQD3WUC/x3MQQqDMBBG4avIrB1Io9XWq4iLmPwdBySWRKQg3 t3Q5bd476SMpMg0VCclHJp1iwWPuiK/uChgDcVkjW2NtR2LB/tVEXdOEF434TALPx3eXdM780K gEn8TPvr7j8fpum4s7kuzaAAAAA== To: Matthias Brugger , AngeloGioacchino Del Regno Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= X-Mailer: b4 0.13.0 Most of the callers to this function do not require CMDQ support, it is optional, so the missing property shouldn't cause an error message. Furthermore, the callers that do require CMDQ support already log at the error level when an error is returned. Change the log message in this helper to be printed at the debug level instead. Signed-off-by: NĂ­colas F. R. A. Prado --- drivers/soc/mediatek/mtk-cmdq-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-cmdq-helper.c b/drivers/soc/mediatek/mtk-cmdq-helper.c index b0cd071c4719..2130ff3aac9e 100644 --- a/drivers/soc/mediatek/mtk-cmdq-helper.c +++ b/drivers/soc/mediatek/mtk-cmdq-helper.c @@ -55,7 +55,7 @@ int cmdq_dev_get_client_reg(struct device *dev, "mediatek,gce-client-reg", 3, idx, &spec); if (err < 0) { - dev_err(dev, + dev_dbg(dev, "error %d can't parse gce-client-reg property (%d)", err, idx); --- base-commit: 41913bcddc83b131649ee8ff0d9ff29e01731398 change-id: 20240226-gce-client-reg-log-dbg-5ae9637a08ed Best regards, -- NĂ­colas F. R. A. Prado