The Bluetooth parts of RTL8723D and RTL8723B share the same lmp
subversion, thus we need to check both lmp subversion and hci revision
to distinguish the two. The same situation is true for RTL8821A and
RTL8821C. Accordingly, the selection code is revised.
To improve maintainability, a new id_table struct is defined, and an
array of such structs is constructed. Adding a new device can thus be
as simple as adding another value to the table.
Signed-off-by: Alex Lu <[hidden email]>
Signed-off-by: Larry Finger <[hidden email]>
Signed-off-by: Marcel Holtmann <[hidden email]>
(cherry picked from commit 907f84990924bf3a8d248c040dabeb5127ae6938)
Signed-off-by: Wen-chien Jesse Sung <[hidden email]>
drivers/bluetooth/btrtl.c | 119 +++++++++++++++++++++++++++-----------
1 file changed, 85 insertions(+), 34 deletions(-)
On 2018-08-01 18:54:35 , Wen-chien Jesse Sung wrote:
> BugLink: https://launchpad.net/bugs/1784835 >
> * Impact:
> These devices can be found in some laptops. They don't work with the btusb
> in bionic but still the btusb would be loaded.
> * Fix:
> There's a commit in upstream that makes btusb support these devices.
> * Risk of Regression:
> It's just one clean cherry-pick from upstream to extend devices supported
> by btrtl. The potential risk should be low.
> Alex Lu (1):
> Bluetooth: btrtl: Add RTL8723D and RTL8821C devices
> drivers/bluetooth/btrtl.c | 119 +++++++++++++++++++++++++++-----------
> 1 file changed, 85 insertions(+), 34 deletions(-)
> kernel-team mailing list
> [hidden email] > https://lists.ubuntu.com/mailman/listinfo/kernel-team