commit | feac90d756c03b03b83fabe83571bd88ecc96b78 | [log] [tgz] |
---|---|---|
author | Zijun Hu <zijuhu@codeaurora.org> | Fri May 29 04:31:07 2020 +0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri May 29 13:38:19 2020 +0200 |
tree | 2f2fece6b7a2240155fa798d965873135a2f437b | |
parent | bf0ddd104167bfc08a5a169b3669f06c9052c1b0 [diff] |
Bluetooth: hci_qca: Fix suspend/resume functionality failure @dev parameter of qca_suspend()/qca_resume() represents serdev_device, but it is mistook for hci_dev and causes succedent unexpected memory access. Fix by taking @dev as serdev_device. Fixes: 41d5b25fed0 ("Bluetooth: hci_qca: add PM support") Signed-off-by: Zijun Hu <zijuhu@codeaurora.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>