diff options
author | 2019-11-28 18:22:04 +0100 | |
---|---|---|
committer | 2019-12-18 20:57:07 +0200 | |
commit | 960da557f435bfe14edb160a42b8ed3a2e255e73 (patch) | |
tree | 9ee8c58ffe608ef8b8950336685e45c328c2781a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | rsi: fix non-atomic allocation in completion handler (diff) | |
download | linux-dev-960da557f435bfe14edb160a42b8ed3a2e255e73.tar.xz linux-dev-960da557f435bfe14edb160a42b8ed3a2e255e73.zip |
rsi: add missing endpoint sanity checks
The driver expects at least one bulk-in endpoint when in "wifi-alone"
operating mode and two bulk-in endpoints otherwise, and would otherwise
fail to to submit the corresponding bulk URB to the default pipe during
probe with a somewhat cryptic message:
rsi_91x: rsi_rx_urb_submit: Failed in urb submission
rsi_91x: rsi_probe: Failed in probe...Exiting
RSI-USB WLAN: probe of 2-2.4:1.0 failed with error -8
The current endpoint sanity check looks broken and would only bail out
early if there was no bulk-in endpoint but at least one bulk-out
endpoint.
Tighten this check to always require at least one bulk-in and one
bulk-out endpoint, and add the missing sanity check for a Bluetooth
bulk-in endpoint when in a BT operating mode. Also make sure to log an
informative error message when the expected endpoints are missing.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions