Bluetooth: btusb: handle mSBC audio over USB Endpoints
authorSathish Narasimman <sathish.narasimman@intel.com>
Fri, 3 Apr 2020 19:43:59 +0000 (21:43 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 5 Apr 2020 11:52:59 +0000 (14:52 +0300)
commitbaac6276c0a9f36f1fe1f00590ef00d2ba5ba626
treeed48e58addb7170407ad03f05782ba8a724c1377
parent1f8330ea1692c9c490b1e566e31d96d8cef99dd8
Bluetooth: btusb: handle mSBC audio over USB Endpoints

For mSBC encoded audio stream over usb transport, btusb driver
to be set to alternate settings 6 as per BT core spec 5.0. The
type of air mode is used to differenting which alt setting to be
used.

The changes are made considering some discussion over the similar
patch submitted earlier from Kuba Pawlak (link below)
https://www.spinics.net/lists/linux-bluetooth/msg64577.html

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com>
Signed-off-by: Hsin-Yu Chao <hychao@chromium.org>
Signed-off-by: Amit K Bag <amit.k.bag@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c