We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae86cf commit c8b2e5cCopy full SHA for c8b2e5c
sound/soc/codecs/rt712-sdca-sdw.c
@@ -438,13 +438,14 @@ static int __maybe_unused rt712_sdca_dev_resume(struct device *dev)
438
return 0;
439
440
if (!slave->unattach_request) {
441
+ mutex_lock(&rt712->disable_irq_lock);
442
if (rt712->disable_irq == true) {
- mutex_lock(&rt712->disable_irq_lock);
443
+
444
sdw_write_no_pm(slave, SDW_SCP_SDCA_INTMASK1, SDW_SCP_SDCA_INTMASK_SDCA_0);
445
sdw_write_no_pm(slave, SDW_SCP_SDCA_INTMASK2, SDW_SCP_SDCA_INTMASK_SDCA_8);
446
rt712->disable_irq = false;
- mutex_unlock(&rt712->disable_irq_lock);
447
}
448
+ mutex_unlock(&rt712->disable_irq_lock);
449
goto regmap_sync;
450
451
0 commit comments