err_unlock:
        mutex_unlock(&cs35l56->irq_lock);
 err:
-       pm_runtime_mark_last_busy(cs35l56->dev);
-       pm_runtime_put_autosuspend(cs35l56->dev);
-
        /* Re-enable SoundWire interrupts */
        if (cs35l56->sdw_peripheral) {
                cs35l56->sdw_irq_no_unmask = false;
                sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_MASK_1,
                                CS35L56_SDW_INT_MASK_CODEC_IRQ);
        }
+
+       pm_runtime_mark_last_busy(cs35l56->dev);
+       pm_runtime_put_autosuspend(cs35l56->dev);
 }
 
 static int cs35l56_component_probe(struct snd_soc_component *component)