Re: [PATCH] Bluetooth: btmrvl: wait for HOST_SLEEP_ENABLE event in suspend

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

 



Hi Bing,

> After BT_CMD_HOST_SLEEP_ENABLE command finishes, driver should
> wait until getting BT_EVENT_HOST_SLEEP_ENABLE event to complete
> suspend procedure.
> Without this patch the suspend handler would return success
> earlier. By the time when the BT_EVENT_HOST_SLEEP_ENABLE event
> comes in the controller driver could have already turned off the
> bus clock. This causes kernel crash or system reboot eventually.
> 
> Cc: <stable@xxxxxxxxxxxxxxx> # 3.13+
> Signed-off-by: Chin-Ran Lo <crlo@xxxxxxxxxxx>
> Signed-off-by: Jeff CF Chen <jeffc@xxxxxxxxxxx>
> Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
> Signed-off-by: Bing Zhao <bzhao@xxxxxxxxxxx>
> ---
> drivers/bluetooth/btmrvl_drv.h  |  1 +
> drivers/bluetooth/btmrvl_main.c | 25 ++++++++++++++++++++++++-
> 2 files changed, 25 insertions(+), 1 deletion(-)

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