[PATCH v2 0/3] Fix races on creation of SDCA jack detection

Charles Keepax posted 3 patches 1 week, 2 days ago
There is a newer version of this series
include/sound/sdca_interrupts.h      |  2 +
include/sound/soc-component.h        |  2 +
sound/soc/sdca/sdca_class_function.c | 12 +---
sound/soc/sdca/sdca_interrupts.c     | 98 ++++++++++------------------
sound/soc/sdca/sdca_jack.c           | 44 ++++++-------
sound/soc/soc-component.c            | 10 +++
sound/soc/soc-core.c                 |  5 ++
7 files changed, 76 insertions(+), 97 deletions(-)
[PATCH v2 0/3] Fix races on creation of SDCA jack detection
Posted by Charles Keepax 1 week, 2 days ago
Currently there exists a couple races that can result in the DAPM graph
coming up in a state that doesn't match the hardware with respect to
SDCA jack detection. This series fixes these up by adding a component
level fixup_controls helper into the asoc core and shuffling around the
IRQ requests from the SDCA side.

Thanks,
Charles

Changes since v1:
 - Clean up freeing of the interrupt name, Sashiko astutely pointed out
   there was a memory leak there.

Charles Keepax (3):
  ASoC: Add a component fixup_controls callback
  ASoC: SDCA: Populate IRQ data earlier
  ASoC: SDCA: Switch to fixup_controls callback for IRQ registration

 include/sound/sdca_interrupts.h      |  2 +
 include/sound/soc-component.h        |  2 +
 sound/soc/sdca/sdca_class_function.c | 12 +---
 sound/soc/sdca/sdca_interrupts.c     | 98 ++++++++++------------------
 sound/soc/sdca/sdca_jack.c           | 44 ++++++-------
 sound/soc/soc-component.c            | 10 +++
 sound/soc/soc-core.c                 |  5 ++
 7 files changed, 76 insertions(+), 97 deletions(-)

-- 
2.47.3