]> 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)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2025 12:12:13 +0000 (13:12 +0100)
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>
sound/soc/codecs/rt712-sdca.c

index 5b298db5f0f611e41c24e2071934eb9e6357826b..0ebaae426e73b5d074163c5d13f5d86f2a431d66 100644 (file)
@@ -1890,11 +1890,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;