提交 d716892f 编写于 作者: C Chin-Ran Lo 提交者: Marcel Holtmann

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: NChin-Ran Lo <crlo@marvell.com>
Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 787b306c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部