From patchwork Fri Feb 9 15:11:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 771326 Delivered-To: patch@linaro.org Received: by 2002:adf:9dca:0:b0:33b:4db1:f5b3 with SMTP id q10csp904424wre; Fri, 9 Feb 2024 07:14:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXu7h+nPR0HdR3QQmOhq58JQmzcb9cXubQfaGrsttS5+jUPSASaoUzxhoSoxfHW3BJvae8+oV/EzGgw+7kvulyz X-Google-Smtp-Source: AGHT+IH0d5agr/A7qSA580RMdoUj6nB1vDxKYjgHItVD8M6awTMBS1wyg3K0k579yCTGUStG2l4M X-Received: by 2002:a17:906:78e:b0:a3c:940:af14 with SMTP id l14-20020a170906078e00b00a3c0940af14mr535713ejc.55.1707491644542; Fri, 09 Feb 2024 07:14:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707491644; cv=none; d=google.com; s=arc-20160816; b=wtTA7yIJoI0y05CwFiHYsKvIqOIaAHoRHUQIYIgorAxb5ZBltxpIQ3tnxB2QTKF6F/ 8rR7Ww/xyU8+kfrq6PGFHuitLlA86PxWmj7xV8UqnpiA8TM8N6Dvrf9/j7EqU7r9hSaC hLvkdvI8od5CtDvVLEEq+IunKJtSiGPDh40Esc8PzaoGx+tpYwplBrzZPgAq9kn30E+I YaubU0sTMfiJNNcBKq1m7DZjy09RHQyT4uSwesvD+oTeqVCf0IG4/j8qXazC8Sh4Ktx6 1y1vraMoBWvvMPzSZUGg2BlNoM2xD/J0Gk6rBNjZYOAXxqlT5ONhsMrrSMUUDqGAN385 KdaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=BWBNxHUfGbI+smyjEUcYQObYXQXZctao+uvqQ5DzYL0=; fh=Aigtih2/cJ9UdzuQVe7A6dZWrvTr5IfYibet/9/ZFno=; b=mJ/FlTFij11Ix6i8n1HMuvwi5QJISXEpyEV6KiSXNmdwqSF+POVVr5YGOV/MyCZFjN QMm4UDCoKzwo5n9eD7yhZwEVJxpSUkb3ZgXfVYBk1bY5gU4pvzODb/iqqVF8sTEn7dRw 8TAgI/ql/42vBC2oPMoZVvNICqTqYB1eKhJ5W8uVSaebBEb0w8d+YN6Al6bbMFSwMm9o LAtL6CI8JsBvwMYusdV0S8k/5XrEwOSBcIN+/T/L2b5/Pu/IT3m5yzOhkBCifuZXoo1A q95/DnUGP4b5hdpNJvd4dD3VCjfSPf+V1V+gOqR4cCd01jpiqYJlEPv6XRLFhUI0qU5n jhsw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yACOUp3M; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVUTSCPvi0o373jybSd9gR37c3VyMo1p+Uykds7Y19Bmw9/P6Il+qfC8swi0hNRybVJeZyWbiprGxLSG31lY8diT2sYqFA362Qv41dkroljTPHGnu/2DLsqvozftqPoc9TLeGfzEK+HbqV3IpMyRUv/0xOLuLAeWfZ5hAOB/V8lnBevIIWqOsCn9kKFVWlS+eBbtXqLJmoYyr6EWPWi05eKdaw6ARBRHsB9/+23sq2TMKseHeuygj8ARMBstEfKWhUpkAbpf7ZEo7MY5HqIpfw6R2xZmNzpALid7ULguJLtWzwnmOVD05RUEP1n59+SXqnyvPaUu4Hhj8ICJxOmt49TQ/ozfNz5DJgPM+4JQinlQ1JVGFR7vADU0PkxpW1PyfyvDYsd8bLuNd5lQDI5et8MXCIWZPPLeVXe18MrzV6zmUF7tq2YuK+ZSaqpGm0WAiGyKx98jnWcifJ9gnbkTd54U5z4hmLz/0/h0DINHTJqWi34F9sxkTmA+VVVhOTEHvNCxCLqwgycVO++vx8TyCnTKAozVvpaNqAGflSxXSqOB7vpSXABBwoDbWyrBQBNmyvfbfjRNoUtiJpsuMHAdhKSIfed984vLmhJ/VDLrUkbJH5KOeoOrKDDsS9IF6xzf1mKGnqQszIhxoVKccsxqt6+mAVM1i8xAC+uGkxXlV1DZ2QchR96YloWZVthEaoqhHoMQTOj9U2+x5Z/G23iLfN956XEwO20XGP+vvybmZgLjewCge4YmWD2t2wqUXmlyhY4tKgWhGI+CmOkHatGXGASe6+fue/77HzzCFkGlDAy0PpZyYLLS7otHswY3JETq1HTeY2F7VDuheXMr9rBmEi0u3HIO6qMRKw86DB1Cq3B3Bj1YnYu Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id qw19-20020a1709066a1300b00a381659a8a5si987531ejc.347.2024.02.09.07.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:14:04 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yACOUp3M; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E79887E71; Fri, 9 Feb 2024 16:14:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="yACOUp3M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 653CD87E73; Fri, 9 Feb 2024 16:14:02 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7D18B87E70 for ; Fri, 9 Feb 2024 16:14:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-41068e36cbbso5962765e9.2 for ; Fri, 09 Feb 2024 07:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707491640; x=1708096440; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BWBNxHUfGbI+smyjEUcYQObYXQXZctao+uvqQ5DzYL0=; b=yACOUp3MSstehqOM+mRhhrxUgjgtAs/F2Au72rrMpHC7bTSILbhm1/W3nc86Y08o+M rTtQtaZdp2Lri/FdXB7jzawjeBTKT/EiP2XV4O20MQkdluA9tRAJUDUeucvzocpAwogh 73hUclVX7Z2IQd+cno9MFQ/QO6DaAQYIYwpORumsrH+KavcebPo98xkOdl6SWBfANosL v0LebMwxY85Iv8VHqTcDVE7jIbdlXI8Skl3+qsUJCNLYYjgcvNwvbOHlOj885trQB6gt ICPeCLjPu2rcWT9lbR+0XrOKsmKnVKP16nnIEmXmSGSYWDkHfe7EEKK1hUUQ4mkZXMT4 hONw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707491640; x=1708096440; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BWBNxHUfGbI+smyjEUcYQObYXQXZctao+uvqQ5DzYL0=; b=dIlW6/mkqMG78adLyxTydIv5YGrl3z8Ysmj9xDVlOnkHSZwgJWGuCVIwQ88TvUm5EX m+6JepNcVe8D8zufa42YB1KbrEUgnvux++CP9oKipCGi/+bWxKf7b6glU92I/S8YiQBd 9Lb3KKXTbdI+xZGAUE7AjTaIY/H/s8DH+XuLcLRKVjkPiJdN/U2S4V8CkFDFAWTk8o38 8GZOGFEo6PrAXxAp+EUFU6lS9YZ2339Of6zMnbrZ8QxJZKQCFi7mxoZezZp4tUiCzLhE N68Xf5JkYT9+jwZ3NGf/Wk5mWs2v1wVzxvL09vpkMVjRJcC55pTtiVGNSIJbWQKPZGgW XVmA== X-Forwarded-Encrypted: i=1; AJvYcCVwlZko/ifY6xObwk4vSbtyiqHXzdXMgTqW7FQzU5yIkVt8xBL2P4ouxNDsHqwz3zN06gSnjmPEjfzX+gpTNmtAC8NjBA== X-Gm-Message-State: AOJu0Yy+bbeMpK4dR35xT14DHso4xx3ig5GXLz3omA7BvomffHoV5adv qPyYxMdK3Mlxh+gtF3Q2iWbipHa8eQO4xLO7yyj4JW4plLPM3fSo8yVBSD57aag= X-Received: by 2002:a05:600c:3510:b0:40f:e1ec:5d41 with SMTP id h16-20020a05600c351000b0040fe1ec5d41mr1636197wmq.32.1707491639900; Fri, 09 Feb 2024 07:13:59 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXgvmZfUSy/eka+PPEJR1/EpYXUhZauiK9uVTezaepMNc99A4bamJ37PWdtw5rVM+m2OibWQVwVy2KhdigpyOWs8dHbjpZDCdN5xt9Rmu7qjd3grZGHEkUGHcTvPOUlrRredYiuA8SlFmfstCE9esvp5rz9NsN8/oHD9Q== Received: from lion.caleb.rex.connolly.tech (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id m24-20020a7bce18000000b0041047382b76sm934506wmc.37.2024.02.09.07.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:13:59 -0800 (PST) From: Caleb Connolly To: Tom Rini Cc: Sumit Garg , Neil Armstrong , u-boot@lists.denx.de, Caleb Connolly Subject: [PATCH] button: qcom-pmic: demote "unknown button" message to debug Date: Fri, 9 Feb 2024 15:11:34 +0000 Message-ID: <20240209151221.3967655-1-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This message isn't an error (there can be a watchdog subnode for example) but it shouldn't be printed unless this driver is being debugged. Demote it to a debug print. Signed-off-by: Caleb Connolly Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong --- drivers/button/button-qcom-pmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/button/button-qcom-pmic.c b/drivers/button/button-qcom-pmic.c index 34a976d1e6c6..e6702139ca2d 100644 --- a/drivers/button/button-qcom-pmic.c +++ b/drivers/button/button-qcom-pmic.c @@ -133,7 +133,7 @@ static int button_qcom_pmic_bind(struct udevice *parent) } else if (NODE_IS_RESIN(node)) { uc_plat->label = "vol_down"; } else { - printf("Unknown button node '%s' should be 'pwrkey' or 'resin'\n", + debug("Unknown button node '%s' should be 'pwrkey' or 'resin'\n", ofnode_get_name(node)); device_unbind(dev); }