summaryrefslogtreecommitdiff
path: root/kernel/freezer.c
diff options
context:
space:
mode:
authorChin-Ran Lo <crlo@marvell.com>2014-07-15 04:05:37 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2014-07-15 06:01:19 (GMT)
commit5bf8a7481d21a669dd9dd874c00f7815a878111a (patch)
tree7ed1828deea12066a24ed7516bf9509351c5a182 /kernel/freezer.c
parent4d042654afb342386cb5c33e29843b76d598ab61 (diff)
downloadlinux-5bf8a7481d21a669dd9dd874c00f7815a878111a.tar.xz
Bluetooth: btmrvl: avoid sending data to firmware after hs_activated
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@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions