]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: es9356: Add back local call to sdw_show_ping_status()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 23 Jun 2026 10:18:11 +0000 (11:18 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jun 2026 11:52:31 +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-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es9356.c

index 670e918b56a469831436e75f47acb98723536ca7..8db81d57462407f5977cc0255fee8f864b61e2ca 100644 (file)
@@ -1111,8 +1111,10 @@ static int es9356_sdca_dev_resume(struct device *dev)
                es9356->disable_irq = false;
 
        ret = sdw_slave_wait_for_init(slave, es9356_PROBE_TIMEOUT);
-       if (ret)
+       if (ret) {
+               sdw_show_ping_status(slave->bus, true);
                return ret;
+       }
 
        regcache_cache_only(es9356->regmap, false);
        regcache_sync(es9356->regmap);