[PATCH 0/2] ASoC: cs42l42: Fixes to power-down

Richard Fitzgerald rf at opensource.cirrus.com
Tue Oct 26 14:57:20 CEST 2021


Driver probe and remove were inconsistent in what they did to power-down
and neither did all steps. In addition to that, neither function
prevented the interrupt handler from running during and after power-down.

Richard Fitzgerald (2):
  ASoC: cs42l42: Reset and power-down on remove() and failed probe()
  ASoC: cs42l42: free_irq() before powering-down on probe() fail

 sound/soc/codecs/cs42l42.c | 43 +++++++++++++++++++++++++++++++------------
 1 file changed, 31 insertions(+), 12 deletions(-)

-- 
2.11.0



More information about the Alsa-devel mailing list