dmic: irq: removed unneeded code.

irq_enable/disable should be doing the unmasking and masking.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2020-04-27 14:27:16 +01:00 committed by Liam Girdwood
parent 60211b3d70
commit 41e62eb4ba
1 changed files with 0 additions and 2 deletions

View File

@ -1592,7 +1592,6 @@ static int dmic_probe(struct dai *dai)
/* Disable dynamic clock gating for dmic before touching any reg */
pm_runtime_get_sync(DMIC_CLK, dai->index);
interrupt_unmask(dmic->irq, cpu_get_id());
interrupt_enable(dmic->irq, dai);
platform_shared_commit(dmic, sizeof(*dmic));
@ -1606,7 +1605,6 @@ static int dmic_remove(struct dai *dai)
int i;
interrupt_disable(dmic->irq, dai);
interrupt_mask(dmic->irq, cpu_get_id());
interrupt_unregister(dmic->irq, dai);
pm_runtime_put_sync(DMIC_CLK, dai->index);