linux/drivers/bluetooth
Bartosz Golaszewski e1d28be268 Bluetooth: hci_qca: fix a NULL-pointer derefence at shutdown
Unlike qca_regulator_init(), qca_power_shutdown() may be called for
QCA_ROME which does not have qcadev->bt_power assigned. Add a
NULL-pointer check before dereferencing the struct qca_power pointer.

Fixes: eba1718717 ("Bluetooth: hci_qca: make pwrseq calls the default if available")
Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Closes: https://lore.kernel.org/linux-bluetooth/su3wp6s44hrxf4ijvsdfzbvv4unu4ycb7kkvwbx6ltdafkldir@4g7ydqm2ap5j/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-08-07 16:35:53 -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: Fail setup on error 2024-07-26 10:53:56 -04:00
btintel.h Bluetooth: btintel: Add firmware ID to firmware name 2024-07-14 21:34:45 -04:00
btintel_pcie.c Bluetooth: btintel_pcie: Remove unnecessary memset(0) calls 2024-07-14 21:34:29 -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: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c 2024-07-15 10:11:46 -04:00
btmtkuart.c Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c 2024-07-15 10:11:46 -04:00
btnxpuart.c Bluetooth: btnxpuart: Fix warnings for suspend and resume functions 2024-07-15 10:12:06 -04:00
btqca.c
btqca.h
btqcomsmd.c
btrsi.c
btrtl.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
btrtl.h
btsdio.c
btusb.c Bluetooth: btintel: Add support for Whale Peak2 2024-07-15 10:11:57 -04:00
dtl1_cs.c
h4_recv.h
hci_ag6xx.c
hci_ath.c
hci_bcm.c
hci_bcm4377.c Bluetooth: hci_bcm4377: Add BCM4388 support 2024-07-14 21:34:34 -04:00
hci_bcsp.c
hci_h4.c
hci_h5.c
hci_intel.c
hci_ldisc.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
hci_ll.c
hci_mrvl.c
hci_nokia.c Bluetooth/nokia: Remove unused struct 'hci_nokia_radio_hdr' 2024-07-14 21:33:33 -04:00
hci_qca.c Bluetooth: hci_qca: fix a NULL-pointer derefence at shutdown 2024-08-07 16:35:53 -04:00
hci_serdev.c
hci_uart.h
hci_vhci.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
virtio_bt.c virtio: rename virtio_find_vqs_info() to virtio_find_vqs() 2024-07-17 05:20:58 -04:00