When we set an KASAN flags, we are seeing an crash while removing module hci_uart. This is due to dereference of hdev. As in module deinit we are calling function hci_free_dev() to free hdev. Changes in v1: * removed dereference of hdev in qca_power_shutdown i.e. qca_close. * moved serdev open & close call from qca_open & qca_close. Balakrishna Godavarthi (2): Bluetooth: hci_qca: Remove serdev_device_open/close function calls Bluetooth: hci_qca: Remove hdev dereference in qca_close(). drivers/bluetooth/hci_qca.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project