diff options
author | Chethan T N <chethan.tumkur.narayan@intel.com> | 2020-06-08 17:57:47 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-06-10 10:07:36 +0200 |
commit | c453b10c2b28580849e382565c2e8a18ecc8bc24 (patch) | |
tree | a6a83847c709cc8d9aa2d26e66b20a5b423e3e59 /drivers/bluetooth/btintel.h | |
parent | d74abe2138b39ae34c274f5ba5dec47408036c0b (diff) | |
download | linux-c453b10c2b28580849e382565c2e8a18ecc8bc24.tar.bz2 |
Bluetooth: btusb: Configure Intel debug feature based on available support
This patch shall enable the Intel telemetry exception format
based on the supported features
Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com>
Signed-off-by: Ps AyappadasX <AyappadasX.Ps@intel.com>
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
-rw-r--r-- | drivers/bluetooth/btintel.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h index 7cd813fc5db4..08e20606fb58 100644 --- a/drivers/bluetooth/btintel.h +++ b/drivers/bluetooth/btintel.h @@ -92,10 +92,10 @@ int btintel_read_boot_params(struct hci_dev *hdev, int btintel_download_firmware(struct hci_dev *dev, const struct firmware *fw, u32 *boot_param); void btintel_reset_to_bootloader(struct hci_dev *hdev); - int btintel_read_debug_features(struct hci_dev *hdev, struct intel_debug_features *features); - +int btintel_set_debug_features(struct hci_dev *hdev, + const struct intel_debug_features *features); #else static inline int btintel_check_bdaddr(struct hci_dev *hdev) @@ -201,4 +201,10 @@ static inline int btintel_read_debug_features(struct hci_dev *hdev, return -EOPNOTSUPP; } +static inline int btintel_set_debug_features(struct hci_dev *hdev, + const struct intel_debug_features *features) +{ + return -EOPNOTSUPP; +} + #endif |