+Al,
On 1/26/2021 1:52 AM, Ulf Hansson wrote:
The implementation of sdhci_pltfm_suspend() is only available when CONFIG_PM_SLEEP is set, which triggers a linking error:
"undefined symbol: sdhci_pltfm_suspend" when building sdhci-brcmstb.c.
Fix this by implementing the missing stubs when CONFIG_PM_SLEEP is unset.
Reported-by: Arnd Bergmann arnd@arndb.de Suggested-by: Florian Fainelli f.fainelli@gmail.com Cc: Nicolas Schichan nschichan@freebox.fr Fixes: 5b191dcba719 ("mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend") Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson ulf.hansson@linaro.org
Acked-by: Florian Fainelli f.fainelli@gmail.com