Commit 0ea2f5a
committed
Bluetooth: btusb: Enable Mediatek modules to work on USB 3.0 busses
MT7921U and possibly other related chips expose a different configuration
on USB 3.0 vs. USB 2.0. Current driver logic only works with the USB 2.0
configuration, while connecting the module to a USB 3.0-only bus results
in enumeration and scanning succeeding but connections silently failing.
Add a special case for Mediatek modules on SuperSpeed busses to select
the right bulk OUT endpoint (second not first) to make them work.
Signed-off-by: Alexey Charkov <alchark@flipper.net>1 parent 2535ba1 commit 0ea2f5a
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4122 | 4122 | | |
4123 | 4123 | | |
4124 | 4124 | | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
| 4133 | + | |
| 4134 | + | |
| 4135 | + | |
| 4136 | + | |
| 4137 | + | |
| 4138 | + | |
| 4139 | + | |
| 4140 | + | |
| 4141 | + | |
| 4142 | + | |
| 4143 | + | |
| 4144 | + | |
| 4145 | + | |
| 4146 | + | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
| 4151 | + | |
| 4152 | + | |
| 4153 | + | |
| 4154 | + | |
| 4155 | + | |
| 4156 | + | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
| 4161 | + | |
| 4162 | + | |
| 4163 | + | |
| 4164 | + | |
| 4165 | + | |
| 4166 | + | |
| 4167 | + | |
4125 | 4168 | | |
4126 | 4169 | | |
4127 | 4170 | | |
| |||
0 commit comments