| From 81549633072c5f297fde957e6cf9433e66820b41 Mon Sep 17 00:00:00 2001 |
| From: Ondrej Jirman <megous@megous.com> |
| Date: Mon, 28 Oct 2019 22:58:58 +0100 |
| Subject: [PATCH] ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend |
| |
| commit e614f341253f8541baf0230a8dc6a016b544b1e2 upstream. |
| |
| 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") |
| Signed-off-by: Ondrej Jirman <megous@megous.com> |
| Signed-off-by: Maxime Ripard <mripard@kernel.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts |
| index 66d078053d5f..1f55811baee8 100644 |
| --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts |
| +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts |
| @@ -192,6 +192,7 @@ |
| vqmmc-supply = <®_dldo1>; |
| non-removable; |
| wakeup-source; |
| + keep-power-in-suspend; |
| status = "okay"; |
| |
| brcmf: wifi@1 { |
| -- |
| 2.7.4 |
| |