]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: ignore reset errors for FW during probe
authorLior David <liord@codeaurora.org>
Tue, 10 Sep 2019 13:46:43 +0000 (16:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Sep 2019 15:07:56 +0000 (18:07 +0300)
commit14b43dc2f2f3351d5ef3b93301a1541ff75dffcb
tree60bba057579da2c32251a4330767f9e6d20bd88a
parentb183df06c6d0efc9d695f6274eea475b11fef77c
wil6210: ignore reset errors for FW during probe

There are special kinds of FW such as WMI only which
are used for testing, diagnostics and other specific
scenario.
Such FW is loaded during driver probe and the driver
disallows enabling any network interface, to avoid
operational issues.
In many cases it is used to debug early versions
of FW with new features, which sometimes fail
on startup.
Currently when such FW fails to load (for example,
because of init failure), the driver probe would fail
and shutdown the device making it difficult to debug
the early failure.
To fix this, ignore load failures in WMI only FW and
allow driver probe to succeed, making it possible to
continue and debug the FW load failure.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/pcie_bus.c