From nobody Tue Jul 23 20:39:05 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WT8Bd3rqTz5QNJ4; Tue, 23 Jul 2024 20:39:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WT8Bd3CMhz4LBj; Tue, 23 Jul 2024 20:39:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721767145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ETYEhdGGqxVZNskg5EMBkQu1EGgZ9usnRI3Uglx/UcA=; b=fjhavr3sMIs35Y1IgVcpywHJc6huofkyxdjJIhbwvU2W7NW87wrd1NMf5mxvEvhE9Uhg0Y uIqQs1kF18zxNVaFkOcUMrGHz4IoFsnE05vVpZz5DdyB8NHP6j1OuMzNJ6V18snqV+VXy7 +WffvTjiGxT0YkiMnn9AugDWK4uNwQXlMbX69mxMexeRUJB+9DnRaZUcGTaImERAsc381Q JYg/aHEDF34AjSnPAeFgQ4h7B7x4NDDd2WOnYoN3r7LRSFDLOJCs7lhMS657qva3YV8qAu FmleWExC52GGOVCJnECTUq/GAC4Bq7ZbWoFZR7Wp9ZFz/E+r43QJfjQKdVe+GA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721767145; a=rsa-sha256; cv=none; b=p4v49eOEhKBkv0Coy7Kicyxb2VmH9MLltOWXlWXQ5JCeSQ7EjHeUAkqPQnjkRAhcs4n4Cu q3pjYLRYt719TNeSUFij84pXuULmWaq7l1ArWZ3FjBSqhGKu7iytP2QkTeeb4lAuV1rKPG cnEic3Yp2wnOED1dHJ5IFgbCG/rPdN84H4TCptPDs1BkTUmX7z5VwfRX0a6vVvMfJozeKs xmMb9ar3HTHrzRlMylXwed6Ohd3VK1/Y05SVIn/PEA1QlRgMCkK0n51xljP5/9Pgbhkga4 6E52nIszJ2we1XVG2/qV/6uduWIKCzEN3O6jmSGjM+7szen1Nbfn2eDDfCCzQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721767145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ETYEhdGGqxVZNskg5EMBkQu1EGgZ9usnRI3Uglx/UcA=; b=qUsYvB4tgUcLTGwQFMxUO0PEW9v3Tal58Lybt6xbyKp9vAVhPB7admNMCPuM5W2HlvNqn7 G2+2aPRpnMwvywAWyA2uuwa/XNvSF8UW7A1Vii5RlenUyrWIi0IHlZU4yyCWKLZ992/hS7 xo3XM2pa7IbQwOP3hgZOUHPAieYDp12GkSpluqI/8fkF4F8Sdvp/y9MB2+mbKphDnyFLl4 1wrRHsQI4AT3McRQsQpdFyZtkeTOA91pW1l+MwJBriV6mrmdI3hZhbbknZb/ofBLGkkN33 iDYcoTqKYL8K+Qsv7fLEXK8oxmmDE5kLF+mBLuppMmQoczhIFq48tKsYaZdEhw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WT8Bd2f62zj2h; Tue, 23 Jul 2024 20:39:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46NKd5x0054605; Tue, 23 Jul 2024 20:39:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46NKd5LU054602; Tue, 23 Jul 2024 20:39:05 GMT (envelope-from git) Date: Tue, 23 Jul 2024 20:39:05 GMT Message-Id: <202407232039.46NKd5LU054602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 0ac6cc3fd747 - main - iichid: Soften "Interrupt setup failed" message List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ac6cc3fd7473a7a8596fa73322a67fc1d78df53 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=0ac6cc3fd7473a7a8596fa73322a67fc1d78df53 commit 0ac6cc3fd7473a7a8596fa73322a67fc1d78df53 Author: Ed Maste AuthorDate: 2024-07-23 17:37:15 +0000 Commit: Ed Maste CommitDate: 2024-07-23 20:38:16 +0000 iichid: Soften "Interrupt setup failed" message Users may interpret the message as a possible hardware error, but the issue is in fact unimplemented functionality. Reword the message to avoid implying it is an error. Reviewed by: wulf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46092 --- sys/dev/iicbus/iichid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/iichid.c b/sys/dev/iicbus/iichid.c index 222f20842a04..1e0dac2ee5dd 100644 --- a/sys/dev/iicbus/iichid.c +++ b/sys/dev/iicbus/iichid.c @@ -1154,7 +1154,7 @@ iichid_attach(device_t dev) if (sc->irq_res == NULL || error != 0) { #ifdef IICHID_SAMPLING device_printf(sc->dev, - "Interrupt setup failed. Fallback to sampling\n"); + "Using sampling mode\n"); sc->sampling_rate_slow = IICHID_SAMPLING_RATE_SLOW; #else device_printf(sc->dev, "Interrupt setup failed\n");