linux/drivers/bluetooth
Douglas Anderson 8ae22de9d2 Bluetooth: qca: If memdump doesn't work, re-enable IBS
On systems in the field, we are seeing this sometimes in the kernel logs:
  Bluetooth: qca_controller_memdump() hci0: hci_devcd_init Return:-95

This means that _something_ decided that it wanted to get a memdump
but then hci_devcd_init() returned -EOPNOTSUPP (AKA -95).

The cleanup code in qca_controller_memdump() when we get back an error
from hci_devcd_init() undoes most things but forgets to clear
QCA_IBS_DISABLED. One side effect of this is that, during the next
suspend, qca_suspend() will always get a timeout.

Let's fix it so that we clear the bit.

Fixes: 06d3fdfcdf ("Bluetooth: hci_qca: Add qcom devcoredump support")
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-08-30 17:48:24 -04:00
..
Kconfig Bluetooth: btmtk: Fix btmtk.c undefined reference build error harder 2024-07-26 10:56:05 -04:00
Makefile
ath3k.c
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
btbcm.c
btbcm.h
btintel.c Bluetooth: btintel: Allow configuring drive strength of BRI 2024-08-23 15:56:03 -04:00
btintel.h
btintel_pcie.c Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in 2024-08-15 13:07:55 -04:00
btintel_pcie.h
btmrvl_debugfs.c
btmrvl_drv.h
btmrvl_main.c
btmrvl_sdio.c
btmrvl_sdio.h
btmtk.c Bluetooth: btmtk: Fix btmtk.c undefined reference build error 2024-07-26 10:54:02 -04:00
btmtk.h Bluetooth: btmtk: remove #ifdef around declarations 2024-07-26 10:56:54 -04:00
btmtksdio.c Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in 2024-08-15 13:07:55 -04:00
btmtkuart.c
btnxpuart.c Bluetooth: btnxpuart: Fix random crash seen while removing driver 2024-08-23 15:56:04 -04:00
btqca.c
btqca.h
btqcomsmd.c
btrsi.c
btrtl.c Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in 2024-08-15 13:07:55 -04:00
btrtl.h
btsdio.c
btusb.c Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in 2024-08-15 13:07:55 -04:00
dtl1_cs.c
h4_recv.h
hci_ag6xx.c
hci_ath.c
hci_bcm.c
hci_bcm4377.c
hci_bcsp.c
hci_h4.c
hci_h5.c
hci_intel.c
hci_ldisc.c
hci_ll.c
hci_mrvl.c
hci_nokia.c
hci_qca.c Bluetooth: qca: If memdump doesn't work, re-enable IBS 2024-08-30 17:48:24 -04:00
hci_serdev.c
hci_uart.h
hci_vhci.c Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in 2024-08-15 13:07:55 -04:00
virtio_bt.c