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

index bb12cfb6da12bc816e7f987921f4125978c91ae3..ace06f5ab58c12bc5a7edeb1c49f1f9f853692f5 100644 (file)
@@ -1445,8 +1445,10 @@ static s32 tac5xx2_sdca_dev_resume(struct device *dev)
        }
 
        ret = sdw_slave_wait_for_init(slave, TAC5XX2_PROBE_TIMEOUT_MS);
-       if (ret)
+       if (ret) {
+               sdw_show_ping_status(slave->bus, true);
                return ret;
+       }
 
        regcache_cache_only(tac_dev->regmap, false);
        regcache_mark_dirty(tac_dev->regmap);
index 7d70e7e3f24f4ecf25450f828fafd4e10f6afb0c..1127ea59b5e4ce9a2b6b102d872a2173db0efcce 100644 (file)
@@ -1083,8 +1083,10 @@ static s32 tas2783_sdca_dev_resume(struct device *dev)
        int ret;
 
        ret = sdw_slave_wait_for_init(slave, TAS2783_PROBE_TIMEOUT);
-       if (ret)
+       if (ret) {
+               sdw_show_ping_status(slave->bus, true);
                return ret;
+       }
 
        regcache_cache_only(tas_dev->regmap, false);
        regcache_sync(tas_dev->regmap);