diff options
author | Chin-Ran Lo <crlo@marvell.com> | 2014-07-02 01:00:14 +0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 19:42:54 +0400 |
commit | 396e04f4bb9afefb0744715dc76d9abe18ee5fb0 (patch) | |
tree | 0492fff5438d6a4b094489e8faa4536cb5d46689 /drivers/bus | |
parent | 4df82b5911c0e380d8b308958f158c3e7b365467 (diff) | |
download | linux-396e04f4bb9afefb0744715dc76d9abe18ee5fb0.tar.xz |
Bluetooth: btmrvl: wait for HOST_SLEEP_ENABLE event in suspend
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@vger.kernel.org> # 3.13+
Signed-off-by: Chin-Ran Lo <crlo@marvell.com>
Signed-off-by: Jeff CF Chen <jeffc@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions