projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2999c1
)
Bluetooth: btmrvl: reset is_suspending flag in failure path
author
Amitkumar Karwar
<akarwar@marvell.com>
Fri, 15 Jul 2016 10:50:52 +0000
(16:20 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 18 Jul 2016 08:13:02 +0000
(10:13 +0200)
is_suspending flag remains on when host sleep fails to enable. Data
path is unnecessarily blocked after this. This patch ensures to
reset the flag in failure path.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btmrvl_sdio.c
b/drivers/bluetooth/btmrvl_sdio.c
index b7c3928cf49481ffddb09b5b70041bc08daa778a..d02f2c14df32545782f4d7759bb4409e482cc063 100644
(file)
--- a/
drivers/bluetooth/btmrvl_sdio.c
+++ b/
drivers/bluetooth/btmrvl_sdio.c
@@
-1625,6
+1625,7
@@
static int btmrvl_sdio_suspend(struct device *dev)
if (priv->adapter->hs_state != HS_ACTIVATED) {
if (btmrvl_enable_hs(priv)) {
BT_ERR("HS not actived, suspend failed!");
+ priv->adapter->is_suspending = false;
return -EBUSY;
}
}