linux-yocto/drivers/bluetooth
Bartosz Golaszewski efee502d10 Bluetooth: hci_qca: move the SoC type check to the right place
commit 0fb410c914 upstream.

Commit 3d05fc8223 ("Bluetooth: qca: set power_ctrl_enabled on NULL
returned by gpiod_get_optional()") accidentally changed the prevous
behavior where power control would be disabled without the BT_EN GPIO
only on QCA_WCN6750 and QCA_WCN6855 while also getting the error check
wrong. We should treat every IS_ERR() return value from
devm_gpiod_get_optional() as a reason to bail-out while we should only
set power_ctrl_enabled to false on the two models mentioned above. While
at it: use dev_err_probe() to save a LOC.

Cc: stable@vger.kernel.org
Fixes: 3d05fc8223 ("Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional()")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Hsin-chen Chuang <chharry@chromium.org>
Reviewed-by: Hsin-chen Chuang <chharry@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-27 11:07:05 +01:00
..
ath3k.c Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl 2024-06-27 13:46:16 +02:00
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
btbcm.c
btbcm.h
btintel.c Bluetooth: btintel: Fixe build regression 2024-04-13 13:05:27 +02:00
btintel.h
btmrvl_debugfs.c
btmrvl_drv.h
btmrvl_main.c
btmrvl_sdio.c Bluetooth: btmrvl: Use IRQF_NO_AUTOEN flag in request_irq() 2024-10-17 15:21:31 +02:00
btmrvl_sdio.h
btmtk.c Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 2024-04-13 13:05:03 +02:00
btmtk.h Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 2024-04-13 13:05:03 +02:00
btmtksdio.c
btmtkuart.c Bluetooth: btmtkuart: fix recv_buf() return value 2024-01-25 15:27:30 -08:00
btqca.c Bluetooth: qca: simplify WCN399x NVM loading 2025-04-25 10:43:31 +02:00
btqca.h Bluetooth: qca: generalise device address check 2024-06-21 14:36:00 +02:00
btqcomsmd.c
btrsi.c
btrtl.c Bluetooth: btrtl: Prevent potential NULL dereference 2025-04-25 10:43:49 +02:00
btrtl.h
btsdio.c
btusb.c bluetooth: btusb: Initialize .owner field of force_poll_sync_fops 2025-03-13 12:53:16 +01:00
dtl1_cs.c
h4_recv.h
hci_ag6xx.c
hci_ath.c
hci_bcm.c
hci_bcsp.c
hci_h4.c
hci_h5.c
hci_intel.c
hci_ldisc.c Bluetooth: hci_uart: Fix another race during initialization 2025-04-25 10:43:47 +02:00
hci_ll.c
hci_mrvl.c
hci_nokia.c
hci_qca.c Bluetooth: hci_qca: move the SoC type check to the right place 2025-06-27 11:07:05 +01:00
hci_serdev.c
hci_uart.h Bluetooth: hci_uart: Fix another race during initialization 2025-04-25 10:43:47 +02:00
hci_vhci.c
Kconfig
Makefile
virtio_bt.c