From: Sean Wang Date: Wed, 12 Jan 2022 07:39:16 +0000 (+0800) Subject: Bluetooth: btmtksdio: run sleep mode by default X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e98aa38cafec489ec025572c529dfb3d64559718;p=linux.git 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 Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c index 3e8f19556e2c8..491f029452ca8 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;