diff --git a/src/drivers/soundwire/alc711/alc711.c b/src/drivers/soundwire/alc711/alc711.c index c698000266..dc738405ad 100644 --- a/src/drivers/soundwire/alc711/alc711.c +++ b/src/drivers/soundwire/alc711/alc711.c @@ -131,6 +131,10 @@ static void soundwire_alc711_fill_ssdt(const struct device *dev) /* Currently only 1 audio mode is supported. */ memcpy(&alc711_audio_mode, &config->audio_mode, sizeof(struct soundwire_audio_mode)); + /* Override the default (true) if disable_clkstop_sm_support is set in the devicetree. */ + if (config->disable_clkstop_sm_support) + alc711_slave.simplified_clockstopprepare_sm_supported = false; + dsd = acpi_dp_new_table("_DSD"); soundwire_gen_codec(dsd, &alc711_codec, NULL); acpi_dp_write(dsd); diff --git a/src/drivers/soundwire/alc711/chip.h b/src/drivers/soundwire/alc711/chip.h index 8b0230e6d1..26aaffafa4 100644 --- a/src/drivers/soundwire/alc711/chip.h +++ b/src/drivers/soundwire/alc711/chip.h @@ -7,6 +7,7 @@ #include struct drivers_soundwire_alc711_config { + bool disable_clkstop_sm_support; const char *name; const char *desc; struct soundwire_address alc711_address;