X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fhci_h5.c;fp=drivers%2Fbluetooth%2Fhci_h5.c;h=7b985c7cd26da749efd2efd9b0d44ca515e1b302;hb=b4a46996f1d21c23269cc6b989e4db22ce69061f;hp=e0520639f4ba01c9f4cf9c36a48dec22c28f4296;hpb=4431531c482a2c05126caaa9fcc5053a4a5c495b;p=linux-2.6-microblaze.git diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index e0520639f4ba..7b985c7cd26d 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c @@ -916,6 +916,13 @@ out_free: static void h5_btrtl_open(struct h5 *h5) { + /* + * Since h5_btrtl_resume() does a device_reprobe() the suspend handling + * done by the hci_suspend_notifier is not necessary; it actually causes + * delays and a bunch of errors to get logged, so disable it. + */ + set_bit(HCI_UART_NO_SUSPEND_NOTIFIER, &h5->hu->flags); + /* Devices always start with these fixed parameters */ serdev_device_set_flow_control(h5->hu->serdev, false); serdev_device_set_parity(h5->hu->serdev, SERDEV_PARITY_EVEN);