Bluetooth: btusb: Ignore zero length of USB packets on ALT 6 for specific chip
authorHilda Wu <hildawu@realtek.com>
Wed, 5 Oct 2022 08:43:31 +0000 (16:43 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:23 +0000 (14:19 -0800)
commita479e71322ced3e663b0baf17a6d250c973454c8
treeeead798a49f685795c2c642b2bc0bd5cdd4aa103
parent5b355944b19011011dd3fd4187444c5ff1d76ad2
Bluetooth: btusb: Ignore zero length of USB packets on ALT 6 for specific chip

For USB ALT 6 settings some Realtek chips need to transmit mSBC data
continuously without the zero length of USB packets.
In this commit, create BTUSB_ALT6_CONTINUOUS_TX to manage the behavior.
Therefore, create REALTEK_ALT6_CONTINUOUS_TX_CHIP to manage the specific
chip model for the behavior.

Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btrtl.c
drivers/bluetooth/btusb.c