diff mbox series

[6/7] Bluetooth: btmtksdio: run sleep mode by default

Message ID ed300b791b317f8ee20e22071e0fdcf82656f359.1641972745.git.objelf@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/7] Bluetooth: mt7921s: fix firmware coredump retrieve | expand

Commit Message

Sean Wang Jan. 12, 2022, 7:39 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Apply sleep mode by default and a smaller idle time to reduce power
consumption further.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
 drivers/bluetooth/btmtksdio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 3e8f19556e2c..491f029452ca 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -31,9 +31,9 @@ 
 
 #define VERSION "0.1"
 
-#define MTKBTSDIO_AUTOSUSPEND_DELAY	8000
+#define MTKBTSDIO_AUTOSUSPEND_DELAY	1000
 
-static bool enable_autosuspend;
+static bool enable_autosuspend = true;
 
 struct btmtksdio_data {
 	const char *fwname;