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 310a5ca commit ee28777Copy full SHA for ee28777
sound/soc/codecs/rt711-sdca-sdw.c
@@ -438,13 +438,13 @@ static int __maybe_unused rt711_sdca_dev_resume(struct device *dev)
438
return 0;
439
440
if (!slave->unattach_request) {
441
+ mutex_lock(&rt711->disable_irq_lock);
442
if (rt711->disable_irq == true) {
- mutex_lock(&rt711->disable_irq_lock);
443
sdw_write_no_pm(slave, SDW_SCP_SDCA_INTMASK1, SDW_SCP_SDCA_INTMASK_SDCA_0);
444
sdw_write_no_pm(slave, SDW_SCP_SDCA_INTMASK2, SDW_SCP_SDCA_INTMASK_SDCA_8);
445
rt711->disable_irq = false;
446
- mutex_unlock(&rt711->disable_irq_lock);
447
}
+ mutex_unlock(&rt711->disable_irq_lock);
448
goto regmap_sync;
449
450
0 commit comments