]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: rt712: avoid skipping the blind write
authorShuming Fan <shumingf@realtek.com>
Mon, 1 Sep 2025 08:57:57 +0000 (16:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Oct 2025 11:01:01 +0000 (13:01 +0200)
[ Upstream commit f54d87dad7619c8026e95b848d6ef677b9f2b55f ]

Some devices might not use the DMIC function of the RT712VB.
Therefore, this patch avoids skipping the blind write with RT712VB.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20250901085757.1287945-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt712-sdca.c

index 570c2af1245d64d092fd05d2febb8307fe750de8..0c57aee766b5c05b5ba56fccb5f0e827d880912d 100644 (file)
@@ -1891,11 +1891,9 @@ int rt712_sdca_io_init(struct device *dev, struct sdw_slave *slave)
 
                rt712_sdca_va_io_init(rt712);
        } else {
-               if (!rt712->dmic_function_found) {
-                       dev_err(&slave->dev, "%s RT712 VB detected but no SMART_MIC function exposed in ACPI\n",
+               if (!rt712->dmic_function_found)
+                       dev_warn(&slave->dev, "%s RT712 VB detected but no SMART_MIC function exposed in ACPI\n",
                                __func__);
-                       goto suspend;
-               }
 
                /* multilanes and DMIC are supported by rt712vb */
                prop->lane_control_support = true;