summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/bluecard_cs.c
diff options
context:
space:
mode:
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>2020-09-10 16:00:42 +0530
committerMarcel Holtmann <marcel@holtmann.org>2020-09-11 09:09:48 +0200
commitde8892df72be76828a1040799d47a34a1c58a563 (patch)
treeb540cf6e0d054fb3ac1505e91acd958d755437ec /drivers/bluetooth/bluecard_cs.c
parent0fc1a726f897acfa774b17eeb62b38480d1c9ea0 (diff)
downloadlwn-de8892df72be76828a1040799d47a34a1c58a563.tar.gz
lwn-de8892df72be76828a1040799d47a34a1c58a563.zip
Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set
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. Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
0 files changed, 0 insertions, 0 deletions