Message ID | 1599733843-20311-1-git-send-email-gubbaven@codeaurora.org (mailing list archive) |
---|---|
Headers | show |
Series | Close UART port if NON_PERSISTENT_SETUP is set | expand |
Hi Venkata, > When HCI_QUIRK_NON_PERSISTENT_SETUP is set by drivers, > it indicates that BT SoC will be completely powered OFF > during BT OFF. On next BT ON firmware must be downloaded > again. Holding UART port open during BT OFF is draining > the battery. Now during BT OFF, UART port is closed if > qurik HCI_QUIRK_NON_PERSISTENT_SETUP is set by clearing > HCI_UART_PROTO_READY proto flag. On next BT ON, UART > port is opened if HCI_UART_PROTO_READY proto flag is cleared. > > Venkata Lakshmi Narayana Gubba (2): > Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set > Bluetooth: hci_qca: Remove duplicate power off in proto close > > drivers/bluetooth/hci_qca.c | 5 ++--- > drivers/bluetooth/hci_serdev.c | 36 +++++++++++++++++++++++++++++++++--- > 2 files changed, 35 insertions(+), 6 deletions(-) both patches have been applied to bluetooth-next tree. Regards Marcel