summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>2018-11-22 07:50:47 -0500
committerMarcel Holtmann <marcel@holtmann.org>2018-12-18 18:41:59 -0500
commitcba736465e5cbae22027789de748b8500e647555 (patch)
treeff0ddff51863a58c2a708bd560091ae61b177d5d /drivers/bluetooth
parentdff6d593b10fc04a24e07650c459947e9d6ff3c3 (diff)
Bluetooth: hci_serdev: Remove setting of HCI_QUIRK_RESET_ON_CLOSE.
HCI_QUIRK_RESET_ON_CLOSE quirk is required for BT v1.0 based devices, to send a reset command to the chip during hci device close. Serdev architecture is used for the latest BT chips, which doesn't require to send the reset command during close. If still chips required reset command during close, it would be better enabling it in the vendor probes or in proto setup. Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_serdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
index c445aa9ac511..490abba94363 100644
--- a/drivers/bluetooth/hci_serdev.c
+++ b/drivers/bluetooth/hci_serdev.c
@@ -333,9 +333,6 @@ int hci_uart_register_device(struct hci_uart *hu,
333 if (test_bit(HCI_UART_EXT_CONFIG, &hu->hdev_flags)) 333 if (test_bit(HCI_UART_EXT_CONFIG, &hu->hdev_flags))
334 set_bit(HCI_QUIRK_EXTERNAL_CONFIG, &hdev->quirks); 334 set_bit(HCI_QUIRK_EXTERNAL_CONFIG, &hdev->quirks);
335 335
336 if (!test_bit(HCI_UART_RESET_ON_INIT, &hu->hdev_flags))
337 set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
338
339 if (test_bit(HCI_UART_CREATE_AMP, &hu->hdev_flags)) 336 if (test_bit(HCI_UART_CREATE_AMP, &hu->hdev_flags))
340 hdev->dev_type = HCI_AMP; 337 hdev->dev_type = HCI_AMP;
341 else 338 else