Patch "Bluetooth: btnxpuart: Enable Power Save feature on startup" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Bluetooth: btnxpuart: Enable Power Save feature on startup

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     bluetooth-btnxpuart-enable-power-save-feature-on-sta.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 701125de05f063b0cc6677271675a69c7ef9434e
Author: Neeraj Sanjay Kale <neeraj.sanjaykale@xxxxxxx>
Date:   Fri Jun 14 13:50:39 2024 +0530

    Bluetooth: btnxpuart: Enable Power Save feature on startup
    
    [ Upstream commit 4183a7be77009fc31c5760429fe095f163bf96a9 ]
    
    This sets the default power save mode setting to enabled.
    
    The power save feature is now stable and stress test issues, such as the
    TX timeout error, have been resolved.
    commit c7ee0bc8db32 ("Bluetooth: btnxpuart: Resolve TX timeout error in
    power save stress test")
    
    With this setting, the driver will send the vendor command to FW at
    startup, to enable power save feature.
    
    User can disable this feature using the following vendor command:
    hcitool cmd 3f 23 03 00 00 (HCI_NXP_AUTO_SLEEP_MODE)
    
    Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@xxxxxxx>
    Reviewed-by: Paul Menzel <pmenzel@xxxxxxxxxxxxx>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c
index 9d0c7e278114b..9bfa9a6ad56c8 100644
--- a/drivers/bluetooth/btnxpuart.c
+++ b/drivers/bluetooth/btnxpuart.c
@@ -281,7 +281,7 @@ static u8 crc8_table[CRC8_TABLE_SIZE];
 
 /* Default configurations */
 #define DEFAULT_H2C_WAKEUP_MODE	WAKEUP_METHOD_BREAK
-#define DEFAULT_PS_MODE		PS_MODE_DISABLE
+#define DEFAULT_PS_MODE		PS_MODE_ENABLE
 #define FW_INIT_BAUDRATE	HCI_NXP_PRI_BAUDRATE
 
 static struct sk_buff *nxp_drv_send_cmd(struct hci_dev *hdev, u16 opcode,




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux