lkml.org 
[lkml]   [2019]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.3 031/135] ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
    Date
    From: Ondrej Jirman <megous@megous.com>

    [ Upstream commit e614f341253f8541baf0230a8dc6a016b544b1e2 ]

    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: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
    index 568b90ece3427..3bec3e0a81b2c 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 = <&reg_dldo1>;
    non-removable;
    wakeup-source;
    + keep-power-in-suspend;
    status = "okay";

    brcmf: wifi@1 {
    --
    2.20.1


    \
     
     \ /
      Last update: 2019-12-03 23:40    [W:4.159 / U:0.748 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site