All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btmrvl_sdio: Remove hci_{suspend|resume}_dev
@ 2022-06-24 11:20 Archie Pusaka
  2022-06-24 12:02 ` bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Archie Pusaka @ 2022-06-24 11:20 UTC (permalink / raw)
  To: linux-bluetooth, Marcel Holtmann
  Cc: CrosBT Upstreaming, Archie Pusaka, Abhishek Pandit-Subedi,
	Manish Mandlik, Johan Hedberg, Luiz Augusto von Dentz,
	linux-kernel

From: Archie Pusaka <apusaka@chromium.org>

Both calls are already handled by the hci_suspend_notifier.

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@google.com>
Reviewed-by: Manish Mandlik <mmandlik@chromium.org>

---

 drivers/bluetooth/btmrvl_sdio.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index b8ef66f89fc1..41f1c15ec5c1 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -1656,7 +1656,6 @@ static int btmrvl_sdio_suspend(struct device *dev)
 	priv->adapter->is_suspending = true;
 	hcidev = priv->btmrvl_dev.hcidev;
 	BT_DBG("%s: SDIO suspend", hcidev->name);
-	hci_suspend_dev(hcidev);
 
 	if (priv->adapter->hs_state != HS_ACTIVATED) {
 		if (btmrvl_enable_hs(priv)) {
@@ -1721,7 +1720,6 @@ static int btmrvl_sdio_resume(struct device *dev)
 	BT_DBG("%s: HS DEACTIVATED in resume!", hcidev->name);
 	priv->adapter->is_suspended = false;
 	BT_DBG("%s: SDIO resume", hcidev->name);
-	hci_resume_dev(hcidev);
 
 	/* Disable platform specific wakeup interrupt */
 	if (card->plt_wake_cfg && card->plt_wake_cfg->irq_bt >= 0 &&
-- 
2.37.0.rc0.104.g0611611a94-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-24 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24 11:20 [PATCH] Bluetooth: btmrvl_sdio: Remove hci_{suspend|resume}_dev Archie Pusaka
2022-06-24 12:02 ` bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.