]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmrvl: max out host sleep parameter 'gap'
authorChin-Ran Lo <crlo@marvell.com>
Wed, 6 Jan 2016 14:34:37 +0000 (06:34 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 6 Jan 2016 15:37:14 +0000 (16:37 +0100)
commita6d50388f404e1c6088b253e4e3aac97d831ef1d
treee19be5756392f3d004ae8dfbe6d239a21908cae1
parent0194312efb061b1cbd27df2ac592af0f2fb23d88
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>
drivers/bluetooth/btmrvl_main.c