summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorChin-Ran Lo <crlo@marvell.com>2016-01-06 06:34:37 -0800
committerMarcel Holtmann <marcel@holtmann.org>2016-01-06 16:37:14 +0100
commitd716892f0827dd29ae2488ab3005dfc84ff8fed0 (patch)
treee19be5756392f3d004ae8dfbe6d239a21908cae1 /drivers/bluetooth
parent787b306cf3296bdce5c8559206b237c1ae107484 (diff)
downloadlinux-d716892f0827dd29ae2488ab3005dfc84ff8fed0.tar.gz
linux-d716892f0827dd29ae2488ab3005dfc84ff8fed0.tar.bz2
linux-d716892f0827dd29ae2488ab3005dfc84ff8fed0.zip
Bluetooth: btmrvl: max out host sleep parameter 'gap'
For gpio=0xff (wake up host through SDIO interface) case, gap=0xff means no delay (same as gap=0) for incoming data packet to be sent to host after host sleep is activated. Change it to the maximum delay to reduce the chance that RX interrupt could be delivered while host controller suspends. Signed-off-by: Chin-Ran Lo <crlo@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btmrvl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c
index f2b38c880b11..b2a567bb1b46 100644
--- a/drivers/bluetooth/btmrvl_main.c
+++ b/drivers/bluetooth/btmrvl_main.c
@@ -543,7 +543,7 @@ static int btmrvl_setup(struct hci_dev *hdev)
if (ret)
return ret;
- priv->btmrvl_dev.gpio_gap = 0xffff;
+ priv->btmrvl_dev.gpio_gap = 0xfffe;
btmrvl_check_device_tree(priv);