ARM: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 27 Feb 2020 12:18:51 +0000 (12:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2020 06:15:10 +0000 (08:15 +0200)
commit b7dc7205b2ae6b6c9d9cfc3e47d6f08da8647b10 upstream.

We need to indicate that powering off the TI WiFi is safe, to avoid:

wl18xx_driver wl18xx.2.auto: Unbalanced pm_runtime_enable!
wl1271_sdio mmc0:0001:2: wl12xx_sdio_power_on: failed to get_sync(-13)

which prevents the WiFi being functional.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Cc: Miguel Borges de Freitas <miguelborgesdefreitas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/imx6qdl-sr-som-ti.dtsi

index 44a97ba..352ac58 100644 (file)
        bus-width = <4>;
        keep-power-in-suspend;
        mmc-pwrseq = <&pwrseq_ti_wifi>;
+       cap-power-off-card;
        non-removable;
        vmmc-supply = <&vcc_3v3>;
        /* vqmmc-supply = <&nvcc_sd1>; - MMC layer doesn't like it! */