Re: [PATCH] Bluetooth: btmrvl: avoid sending data to firmware after hs_activated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bing,

> We should suspend hci device and purge remaining data in tx queue
> before enabling host sleep in firmware. If any data is sent to
> firmware after host sleep is activated, firmware may end up
> sending a TX_DONE interrupt to driver. If this interrupt gets
> delivered to host while the SDIO host controller is suspending,
> it may crash the system.
> 
> Conversely, in resume handler, we should resume hci device after
> host sleep is de-activated.
> 
> Signed-off-by: Chin-Ran Lo <crlo@xxxxxxxxxxx>
> Signed-off-by: Bing Zhao <bzhao@xxxxxxxxxxx>
> ---
> drivers/bluetooth/btmrvl_sdio.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux