[PATCH v4 0/4] Fix IRQ mutex inversion on cs42l43

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Fix a mutex inversion in the IRQ handling for the speaker shutters on
cs42l43. Do this by adding some new helper functions to get kcontrol
pointers and caching those in the driver rather than directly acquiring
them in the IRQ handler.

Changes in v4:
 - Add the missing helper that was causing problems the cs35l45 update.

Changes in v3:
 - Also initialise the control cache for the ASP DAI.

Changes in v2:
 - Rather than using a work queue for the IRQ handler, cache the control
   pointers.
 - Add some helpers to get kcontrol pointers.
 - Update cs35l45 to use the new helper functions.
 - Add a patch fixing a pointless semi-colon.

Thanks,
Charles

Charles Keepax (4):
  ASoC: cs42l43: Remove redundant semi-colon at end of function
  ASoC: soc-component: Add new snd_soc_component_get_kcontrol() helpers
  ASoC: cs35l45: Use new snd_soc_component_get_kcontrol_locked() helper
  ASoC: cs42l43: Cache shutter IRQ control pointers

 include/sound/soc-component.h |  5 +++
 sound/soc/codecs/cs35l45.c    | 11 +----
 sound/soc/codecs/cs42l43.c    | 75 ++++++++++++++++++++++++++---------
 sound/soc/codecs/cs42l43.h    |  2 +
 sound/soc/soc-component.c     | 42 ++++++++++++++++----
 5 files changed, 100 insertions(+), 35 deletions(-)

-- 
2.39.2





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux