This patch will power off regulators while hci0 down and turn on them back on hci0 up. Every time we power off we call proto specific close function, so that we will free the memory of Qualcomm BT specific buffers. Will call proto open to assign the memory and turn on the regulators, before calling qualcomm setup. v2: * Removed vendor specific hdev->open and close functions. * Added hdev->shutdown function to turn off the regs. v1: * initial patch. Balakrishna Godavarthi (1): Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990 drivers/bluetooth/hci_qca.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project