Merge tag 'dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / drivers / bluetooth / hci_serdev.c
index 9e03402..3b00d82 100644 (file)
@@ -343,6 +343,9 @@ int hci_uart_register_device(struct hci_uart *hu,
        hdev->setup = hci_uart_setup;
        SET_HCIDEV_DEV(hdev, &hu->serdev->dev);
 
+       if (test_bit(HCI_UART_NO_SUSPEND_NOTIFIER, &hu->flags))
+               set_bit(HCI_QUIRK_NO_SUSPEND_NOTIFIER, &hdev->quirks);
+
        if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags))
                set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);