Skip to content

Commit 015a1ed

Browse files
committed
HACK: remove rt712_vb check
No proper properties in LNL RVP BIOS. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 6fe0c82 commit 015a1ed

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sound/soc/codecs/rt712-sdca.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,15 +1654,15 @@ int rt712_sdca_init(struct device *dev, struct regmap *regmap,
16541654
return ret;
16551655

16561656
/* only add the dmic component if a SMART_MIC function is exposed in ACPI */
1657-
if (sdca_device_quirk_match(slave, SDCA_QUIRKS_RT712_VB)) {
1657+
// if (sdca_device_quirk_match(slave, SDCA_QUIRKS_RT712_VB)) {
16581658
ret = devm_snd_soc_register_component(dev,
16591659
&soc_sdca_dev_rt712_dmic,
16601660
rt712_sdca_dmic_dai,
16611661
ARRAY_SIZE(rt712_sdca_dmic_dai));
16621662
if (ret < 0)
16631663
return ret;
16641664
rt712->dmic_function_found = true;
1665-
}
1665+
// }
16661666

16671667
/* set autosuspend parameters */
16681668
pm_runtime_set_autosuspend_delay(dev, 3000);
@@ -1849,11 +1849,13 @@ int rt712_sdca_io_init(struct device *dev, struct sdw_slave *slave)
18491849

18501850
rt712_sdca_va_io_init(rt712);
18511851
} else {
1852+
#if 0
18521853
if (!rt712->dmic_function_found) {
18531854
dev_err(&slave->dev, "%s RT712 VB detected but no SMART_MIC function exposed in ACPI\n",
18541855
__func__);
18551856
goto suspend;
18561857
}
1858+
#endif
18571859

18581860
/* multilanes and DMIC are supported by rt712vb */
18591861
prop->lane_control_support = true;

0 commit comments

Comments
 (0)