diff options
author | Zijun Hu <zijuhu@codeaurora.org> | 2020-05-28 23:31:07 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-05-29 14:38:19 +0300 |
commit | feac90d756c03b03b83fabe83571bd88ecc96b78 (patch) | |
tree | 2f2fece6b7a2240155fa798d965873135a2f437b /drivers/bluetooth/btmtkuart.c | |
parent | bf0ddd104167bfc08a5a169b3669f06c9052c1b0 (diff) | |
download | linux-feac90d756c03b03b83fabe83571bd88ecc96b78.tar.xz |
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>
Diffstat (limited to 'drivers/bluetooth/btmtkuart.c')
0 files changed, 0 insertions, 0 deletions