]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Process interrupt in main thread of btmrvl driver as well
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 27 May 2010 23:38:37 +0000 (16:38 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:06 +0000 (10:39 -0700)
commitc8feed07efb5f2e5eb5017b9ffd338373602675e
tree109f208c61617a703993ac21a40d71d2e646c44b
parent50c50cade63a189b57ef67602e08010e8d25a978
Bluetooth: Process interrupt in main thread of btmrvl driver as well

When driver is sending a command or data and the firmware is also
sending a sleep event, sometimes it is observed that driver will
continue to send the command/data to firmware right after processing
sleep event. Once sleep event is processed driver is not supposed to
send anything because firmware is in sleep state after that. Previously
interrupt processing was done in SDIO interrupt callback handler.
Now it is done in btmrvl driver main thread to solve the
cross-sending properly.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_drv.h
drivers/bluetooth/btmrvl_main.c
drivers/bluetooth/btmrvl_sdio.c