Lee, Chun-Yi c555b8
From: Sean Wang <sean.wang@mediatek.com>
Lee, Chun-Yi c555b8
Date: Wed, 12 Jan 2022 15:39:15 +0800
Lee, Chun-Yi c555b8
Subject: Bluetooth: btmtksdio: lower log level in
Lee, Chun-Yi c555b8
 btmtksdio_runtime_[resume|suspend]()
Lee, Chun-Yi c555b8
Patch-mainline: v5.18-rc1
Lee, Chun-Yi c555b8
Git-commit: 095519de2debef7666d519208ac2e7bc96cfa6bf
Lee, Chun-Yi c555b8
References: jsc#PED-1407
Lee, Chun-Yi c555b8
Lee, Chun-Yi c555b8
Lower its log level from INFO to DEBUG prior to we enable runtime pm for
Lee, Chun-Yi c555b8
mt7921s with the smaller idle time as default.
Lee, Chun-Yi c555b8
Lee, Chun-Yi c555b8
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Lee, Chun-Yi c555b8
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Lee, Chun-Yi c555b8
Acked-by: Lee, Chun-Yi <jlee@suse.com>
Lee, Chun-Yi c555b8
---
Lee, Chun-Yi c555b8
 drivers/bluetooth/btmtksdio.c |    4 ++--
Lee, Chun-Yi c555b8
 1 file changed, 2 insertions(+), 2 deletions(-)
Lee, Chun-Yi c555b8
Lee, Chun-Yi c555b8
--- a/drivers/bluetooth/btmtksdio.c
Lee, Chun-Yi c555b8
+++ b/drivers/bluetooth/btmtksdio.c
Lee, Chun-Yi c555b8
@@ -1253,7 +1253,7 @@ static int btmtksdio_runtime_suspend(str
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
 	err = btmtksdio_fw_pmctrl(bdev);
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
-	bt_dev_info(bdev->hdev, "status (%d) return ownership to device", err);
Lee, Chun-Yi c555b8
+	bt_dev_dbg(bdev->hdev, "status (%d) return ownership to device", err);
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
 	return err;
Lee, Chun-Yi c555b8
 }
Lee, Chun-Yi c555b8
@@ -1273,7 +1273,7 @@ static int btmtksdio_runtime_resume(stru
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
 	err = btmtksdio_drv_pmctrl(bdev);
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
-	bt_dev_info(bdev->hdev, "status (%d) get ownership from device", err);
Lee, Chun-Yi c555b8
+	bt_dev_dbg(bdev->hdev, "status (%d) get ownership from device", err);
Lee, Chun-Yi c555b8
 
Lee, Chun-Yi c555b8
 	return err;
Lee, Chun-Yi c555b8
 }