Skip to contentSkip to conversation

ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend

PATCH Applied Ondrej Jirman 2 participants 2 messages Oct 28, 2019 – Oct 29, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend

Without enabling keep-power-in-suspend, we can't wake the device up using WOL packet, and the log is flooded with these messages on resume:

sunxi-mmc 1c10000.mmc: send stop command failed sunxi-mmc 1c10000.mmc: data error, sending stop command sunxi-mmc 1c10000.mmc: send stop command failed sunxi-mmc 1c10000.mmc: data error, sending stop command

So to make the WiFi really a wakeup-source, we need to keep it powered during suspend.

Fixes 0e23372080def7 ("arm: dts: sun8i: Add the TBS A711 tablet devicetree")
---
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +1 -0
index 43b21599898e..5b8c9c24350b 100644
@@ -311,6 +311,7 @@
 	vqmmc-supply = <&reg_dldo1>;
 	non-removable;
 	wakeup-source;
+	keep-power-in-suspend;
 	status = "okay";
 
 	brcmf: wifi@1 {
Signature · 1 line
2.23.0
#1 lore raw
Quoted 9 lines · Ondrej Jirman

Without enabling keep-power-in-suspend, we can't wake the device up using WOL packet, and the log is flooded with these messages on resume:

sunxi-mmc 1c10000.mmc: send stop command failed sunxi-mmc 1c10000.mmc: data error, sending stop command sunxi-mmc 1c10000.mmc: send stop command failed sunxi-mmc 1c10000.mmc: data error, sending stop command

Quoted 5 lines

So to make the WiFi really a wakeup-source, we need to keep it powered during suspend.

Fixes 0e23372080def7 ("arm: dts: sun8i: Add the TBS A711 tablet devicetree")

Applied, thanks!

(I don't have my ssh key with me, so it might take a while before it's pushed...)

Maxime