Bluetooth: hci_qca: don't call pwrseq_power_off() twice for QCA6390
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 31 Jul 2024 15:20:48 +0000 (17:20 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 7 Aug 2024 20:32:05 +0000 (16:32 -0400)
commit541b80216cd1d511841c3c8d9559a7b13f4f79f2
treecd5b82f98fe3e3e86197fc473cdb2116d8e4acf3
parent1ca645a2f74a4290527ae27130c8611391b07dbf
Bluetooth: hci_qca: don't call pwrseq_power_off() twice for QCA6390

Now that we call pwrseq_power_off() for all models that hold a valid
power sequencing handle, we can remove the switch case for QCA_6390. The
switch will now use the default label for this model but that's fine: if
it has the BT-enable GPIO than we should use it.

Fixes: eba1718717b0 ("Bluetooth: hci_qca: make pwrseq calls the default if available")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_qca.c