ASoC: Intel: avs: Refactor IRQ handling
authorMark Brown <broonie@kernel.org>
Sat, 20 Apr 2024 01:05:16 +0000 (10:05 +0900)
committerMark Brown <broonie@kernel.org>
Sat, 20 Apr 2024 01:05:16 +0000 (10:05 +0900)
commit27a153e0ec88bb64cb2199c55826624c42f6c6b9
tree9cf5cfde62f13dc4a1ea4f2ef181ed0eb3ed7ba6
parented37d240d03e84d09d4d2a771fda419da4308d17
parent84049e2db59ad9b09461b6d7ec56bd3e8fe75eca
ASoC: Intel: avs: Refactor IRQ handling

Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:

The existing code can be both improved and simplified. To make this
change easier to manage, first add new implementation and then remove
deadcode in a separate patch.

Simplification achieved with:

- reduce the amount of resources requested by the driver i.e.: IPC and
  CLDMA request_irq() merged into one
- reduce the number of DSP ops from 2 to 1:
  irq_handler/thread() vs dsp_interrupt()
- drop ambiguity around CLDMA interrupt, let skl.c handle that
  explicitly as it is the only user

With that done, switch to the new implementation and remove unused
members. While the change is non-trivial, from functional perspective
status quo is achieved.