All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Koskovich <AKoskovich@pm.me>
To: marcel@holtmann.org, johan.hedberg@gmail.com,
	luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Alexander Koskovich <akoskovich@pm.me>
Subject: [PATCH 1/1] Bluetooth: btintel: Demote DSM support error to info
Date: Fri, 24 Nov 2023 12:42:51 +0000	[thread overview]
Message-ID: <20231124124248.7621-1-akoskovich@pm.me> (raw)

Newer Intel platforms support reset of Bluetooth device via ACPI DSM
methods, but not all. If the platform doesn't support restarting
Bluetooth via DSM an info message is more appropriate as nothing
is actually wrong, since this is new behavior as of v6.6.

Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
 drivers/bluetooth/btintel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c
index 2462796a512a..e025a80e10b5 100644
--- a/drivers/bluetooth/btintel.c
+++ b/drivers/bluetooth/btintel.c
@@ -2536,7 +2536,7 @@ static void btintel_set_dsm_reset_method(struct hci_dev *hdev,
 
 		if (!acpi_check_dsm(handle, &btintel_guid_dsm, 0,
 				    BIT(DSM_SET_WDISABLE2_DELAY))) {
-			bt_dev_err(hdev, "No dsm support to set reset delay");
+			bt_dev_info(hdev, "No dsm support to set reset delay");
 			return;
 		}
 		argv4.integer.type = ACPI_TYPE_INTEGER;
-- 
2.43.0



             reply	other threads:[~2023-11-24 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24 12:42 Alexander Koskovich [this message]
2023-11-24 13:11 ` [1/1] Bluetooth: btintel: Demote DSM support error to info bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231124124248.7621-1-akoskovich@pm.me \
    --to=akoskovich@pm.me \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.