Re: [PATCH v2] bluetooth: hci_qca: Fix suspend/resume functionality failure
From: Marcel Holtmann
Date: Fri May 29 2020 - 07:39:09 EST
Hi Zijun,
> @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@xxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - remove unused variable @hdev
>
> drivers/bluetooth/hci_qca.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel