]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: max98373: Add back local call to sdw_show_ping_status()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 23 Jun 2026 10:18:12 +0000 (11:18 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jun 2026 11:52:32 +0000 (12:52 +0100)
As the core no longer calls this debug helper add it back to the drivers
that originally called it.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260623101814.24044-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373-sdw.c

index 6829fa07c9ecbe0cce8cc3b977cee961002476be..7a42052dc051619b9b6f645a667a86b8c757408a 100644 (file)
@@ -272,8 +272,10 @@ static int max98373_resume(struct device *dev)
                return 0;
 
        ret = sdw_slave_wait_for_init(slave, MAX98373_PROBE_TIMEOUT);
-       if (ret)
+       if (ret) {
+               sdw_show_ping_status(slave->bus, true);
                return ret;
+       }
 
        regcache_cache_only(max98373->regmap, false);
        regcache_sync(max98373->regmap);