[PATCH 0/6] ASOC: Fix the error handling code of the probe

Zheyu Ma zheyuma97 at gmail.com
Tue May 10 17:32:45 CEST 2022


These drivers mishandle the regulator resource in the probe function,
failing to disable the regulator for probing failure.

Zheyu Ma (6):
  ASoC: cs42l52: Fix the error handling of cs42l56_i2c_probe()
  ASoC: cs35l36: Fix the error handling of cs35l36_i2c_probe()
  ASoC: rt5645: Fix the error handling of rt5645_i2c_probe()
  ASoC: tas571x: Fix the error handling of tas571x_i2c_probe()
  ASoC: tas6424: Fix the error handling of tas6424_i2c_probe()
  ASoC: wm8903: Fix the error handling of wm8903_i2c_probe()

 sound/soc/codecs/cs35l36.c | 2 +-
 sound/soc/codecs/cs42l56.c | 2 +-
 sound/soc/codecs/rt5645.c  | 4 ++--
 sound/soc/codecs/tas571x.c | 6 ++++--
 sound/soc/codecs/tas6424.c | 8 ++++++--
 sound/soc/codecs/wm8903.c  | 2 +-
 6 files changed, 15 insertions(+), 9 deletions(-)

-- 
2.25.1



More information about the Alsa-devel mailing list