soundwire: intel_init: remove useless interrupt enablement in interrupt thread
When the code reaches the SoundWire interrupt thread handling, the interrupt was enabled already, and there is no code that disables it -> this is a no-op sequence. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Acked-By: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20221111042653.45520-2-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
e9a45c8aca
Коммит
c5e5da1eb3
|
@ -157,7 +157,6 @@ irqreturn_t sdw_intel_thread(int irq, void *dev_id)
|
|||
list_for_each_entry(link, &ctx->link_list, list)
|
||||
sdw_cdns_irq(irq, link->cdns);
|
||||
|
||||
sdw_intel_enable_irq(ctx->mmio_base, true);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
EXPORT_SYMBOL_NS(sdw_intel_thread, SOUNDWIRE_INTEL_INIT);
|
||||
|
|
Загрузка…
Ссылка в новой задаче