summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmtksdio.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-01-12 08:39:16 +0100
committerMarcel Holtmann <marcel@holtmann.org>2022-01-21 23:49:27 +0100
commite98aa38cafec489ec025572c529dfb3d64559718 (patch)
treef763589230d9306f1bfad75e53c97ae14501144e /drivers/bluetooth/btmtksdio.c
parentBluetooth: btmtksdio: lower log level in btmtksdio_runtime_[resume|suspend]() (diff)
downloadlinux-e98aa38cafec489ec025572c529dfb3d64559718.tar.xz
linux-e98aa38cafec489ec025572c529dfb3d64559718.zip
Bluetooth: btmtksdio: run sleep mode by default
Apply sleep mode by default and a smaller idle time to reduce power consumption further. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtksdio.c')
-rw-r--r--drivers/bluetooth/btmtksdio.c4
1 files changed, 2 insertions, 2 deletions
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;