Comments (1)
Replaying to myself :)
Here is a solution:
Author: Primoz Fiser <[email protected]>
Date: Tue Aug 27 17:26:17 2019 +0200
Disable caldata prefetch for SDIO bus
- when enabled on iMX6 platform we get:
mmc0: Timeout waiting for hardware interrupt.
if we try to disable wireless interface with:
ifconfig wlan0 down
Afterwards, the wireless interface & SDIO bus are
left unresponsive and cannot be easily brought back
to operation.
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 6942cd2..81f738a 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -1255,6 +1255,9 @@ static int ath10k_debug_cal_data_fetch(struct ath10k *ar)
if (ar->hw_params.cal_data_len == 0)
return -EOPNOTSUPP;
+ if (ar->hif.bus == ATH10K_BUS_SDIO)
+ return -EINVAL;
+
hi_addr = host_interest_item_address(HI_ITEM(hi_board_data));
ret = ath10k_hif_diag_read(ar, hi_addr, &addr, sizeof(addr));
I guess disabling caldata prefetch on SDIO bus interfaces fixes the problem.
from linux-ath.
Related Issues (17)
- Received tx completion for invalid msdu_id: 0 HOT 3
- Porting to Linux version 4.4.8 HOT 1
- 5G band cannot work. HOT 3
- Yealink WF50 gives ‘Unsupported hardware version: 0x5020001’ HOT 7
- Backport to 4.14 HOT 16
- 8devices RED bean does not work HOT 1
- SDIO Device tree documentation HOT 1
- sdio changes on v4.19-ath10k-sdio
- Spectral Scan HOT 1
- QCA9377 SDIO Validation HOT 3
- Please list modifications HOT 3
- DeviceTree documentation update HOT 2
- Error when bringing interface up HOT 1
- MPDU range status: 10
- lockdep_assert_held() failing
- sdio changes for 4.16? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-ath.