summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>2023-04-03 14:24:29 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-24 07:01:44 +0200
commit893410b221f4966890e5bc33be08d38d4bc968b2 (patch)
treef58d98c2c16810b3a07743ec481302eb4a7b6f44 /drivers/bluetooth
parentBluetooth: btnxpuart: Deasset UART break before closing serdev device (diff)
downloadlinux-893410b221f4966890e5bc33be08d38d4bc968b2.tar.xz
linux-893410b221f4966890e5bc33be08d38d4bc968b2.zip
Bluetooth: btnxpuart: Disable Power Save feature on startup
This sets the default power save mode setting to disabled. With this setting, this driver will behave like a normal h4 driver. If user needs to use the power save feature, it can be enabled using the following vendor command: hcitool cmd 3f 23 02 00 00 (HCI_NXP_AUTO_SLEEP_MODE) Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btnxpuart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index 12cc53c0b88b..a2335fe3e264 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -262,7 +262,7 @@ static u8 crc8_table[CRC8_TABLE_SIZE];
/* Default configurations */
#define DEFAULT_H2C_WAKEUP_MODE WAKEUP_METHOD_BREAK
-#define DEFAULT_PS_MODE PS_MODE_ENABLE
+#define DEFAULT_PS_MODE PS_MODE_DISABLE
#define FW_INIT_BAUDRATE HCI_NXP_PRI_BAUDRATE
static struct sk_buff *nxp_drv_send_cmd(struct hci_dev *hdev, u16 opcode,