linux/sound/soc/codecs
Greg Kroah-Hartman 2da441a649 ASoC: cs43130: handle errors in cs43130_probe() properly
cs43130_probe() does not do any valid error checking of things it
initializes, OR what it does, it does not unwind properly if there are
errors.

Fix this up by moving the sysfs files to an attribute group so the
driver core will correctly add/remove them all at once and handle errors
with them, and correctly check for creating a new workqueue and
unwinding if that fails.

Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-58-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 18:32:38 +02:00
..
88pm860x-codec.c
88pm860x-codec.h
Kconfig ASoC: codecs: tlv320aic3x: add SPI support 2021-04-07 16:58:27 +01:00
Makefile ASoC: codecs: tlv320aic3x: add SPI support 2021-04-07 16:58:27 +01:00
ab8500-codec.c ASoC: ab8500-codec: remove useless structure 2021-03-18 13:50:34 +00:00
ab8500-codec.h
ac97.c
ad193x-i2c.c
ad193x-spi.c
ad193x.c
ad193x.h
ad1836.c ASoC: ad1836: remove useless return 2021-03-18 13:50:35 +00:00
ad1836.h
ad1980.c
ad73311.c
ad73311.h
adau-utils.c
adau-utils.h
adau17x1.c ASoC: adau17x1: Avoid overwriting CHPF 2021-04-22 16:27:33 +01:00
adau17x1.h
adau1372-i2c.c
adau1372-spi.c
adau1372.c
adau1372.h
adau1373.c
adau1373.h
adau1701.c
adau1701.h
adau1761-i2c.c
adau1761-spi.c
adau1761.c
adau1761.h
adau1781-i2c.c
adau1781-spi.c
adau1781.c
adau1781.h
adau1977-i2c.c
adau1977-spi.c
adau1977.c ASoC: adau1977: remove useless return 2021-03-18 13:50:36 +00:00
adau1977.h
adau7002.c
adau7118-hw.c
adau7118-i2c.c
adau7118.c
adau7118.h
adav80x.c
adav80x.h
adav801.c
adav803.c
ads117x.c
ak4104.c
ak4118.c
ak4458.c ASoC: ak4458: enable daisy chain 2021-04-20 17:25:51 +01:00
ak4458.h ASoC: ak4458: enable daisy chain 2021-04-20 17:25:51 +01:00
ak4535.c
ak4535.h
ak4554.c
ak4613.c
ak4641.c
ak4642.c
ak4671.c
ak4671.h
ak5386.c
ak5558.c ASoC: ak5558: change function name to ak5558_reset 2021-04-14 15:24:17 +01:00
ak5558.h
alc5623.c
alc5623.h
alc5632.c
alc5632.h
arizona-jack.c ASoC: arizona-jack: Cleanup logging 2021-03-24 19:50:18 +00:00
arizona.c
arizona.h ASoC: arizona-jack: Use snd_soc_jack to report jack events 2021-03-24 19:50:17 +00:00
bd28623.c
bt-sco.c
cpcap.c Merge branch 'asoc-5.11' into asoc-5.12 2021-02-05 15:01:21 +00:00
cq93vc.c
cros_ec_codec.c ASoC: cros_ec_codec: remove null pointer dereference warning 2021-03-18 13:50:37 +00:00
cs35l32.c
cs35l32.h
cs35l33.c
cs35l33.h
cs35l34.c
cs35l34.h
cs35l35.c ASoC: cs35l35: remove unused including <linux/version.h> 2021-04-14 15:24:18 +01:00
cs35l35.h
cs35l36.c ASoC: cs35l36: Fix an error handling path in 'cs35l36_i2c_probe()' 2021-04-13 14:12:55 +01:00
cs35l36.h
cs42l42.c ASoC: cs42l42: Wait for PLL to lock before switching to it 2021-03-10 13:14:31 +00:00
cs42l42.h ASoC: cs42l42: Wait for PLL to lock before switching to it 2021-03-10 13:14:31 +00:00
cs42l51-i2c.c
cs42l51.c
cs42l51.h
cs42l52.c
cs42l52.h
cs42l56.c
cs42l56.h
cs42l73.c
cs42l73.h
cs42xx8-i2c.c
cs42xx8.c
cs42xx8.h
cs47l15.c
cs47l24.c
cs47l24.h
cs47l35.c
cs47l85.c
cs47l90.c
cs47l92.c
cs53l30.c
cs53l30.h
cs4234.c
cs4234.h
cs4265.c
cs4265.h
cs4270.c ASoC: cs4270: fix kernel-doc 2021-03-10 13:10:37 +00:00
cs4271-i2c.c
cs4271-spi.c
cs4271.c
cs4271.h
cs4341.c
cs4349.c
cs4349.h
cs43130.c ASoC: cs43130: handle errors in cs43130_probe() properly 2021-05-13 18:32:38 +02:00
cs43130.h
cx2072x.c ASoC: cx2072x: constify static struct snd_soc_dai_ops 2021-04-08 15:21:54 +01:00
cx2072x.h
cx20442.c tty: remove TTY_LDISC_MAGIC 2021-03-10 09:34:06 +01:00
cx20442.h
da732x.c ASoC: da732x: simplify code 2021-03-31 18:00:38 +01:00
da732x.h ASoC: da732x: simplify code 2021-03-31 18:00:38 +01:00
da732x_reg.h
da7210.c
da7213.c
da7213.h
da7218.c
da7218.h
da7219-aad.c ASoC: da7219-aad: remove useless initialization 2021-03-18 13:50:40 +00:00
da7219-aad.h
da7219.c ASoC: da7219: properly get clk from the provider 2021-04-23 13:16:27 +01:00
da7219.h
da9055.c
dmic.c
es7134.c
es7241.c
es8316.c ASoC: es8316: Simplify adc_pga_gain_tlv table 2021-03-10 12:50:51 +00:00
es8316.h
es8328-i2c.c
es8328-spi.c
es8328.c
es8328.h
gtm601.c
hdac_hda.c
hdac_hda.h
hdac_hdmi.c ASoC: hdac_hdmi: remove useless initializations 2021-03-18 13:50:41 +00:00
hdac_hdmi.h ASoC: hdac_hdmi: align function arguments 2021-03-18 13:50:42 +00:00
hdmi-codec.c ASoC: hdmi-codec: remove unused spk_mask member 2021-03-18 13:50:44 +00:00
ics43432.c
inno_rk3036.c
inno_rk3036.h
isabelle.c
isabelle.h
jz4725b.c
jz4740.c
jz4760.c Merge series "ASoC: remove more make W=1 warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2021-03-10 13:13:24 +00:00
jz4770.c ASoC: codecs/jz4770: Remove superfluous error message 2021-03-10 13:13:28 +00:00
l3.c
lm4857.c
lm49453.c ASoC: lm49453: fix useless assignment before return 2021-03-31 18:00:37 +01:00
lm49453.h
lochnagar-sc.c
lpass-rx-macro.c Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
lpass-tx-macro.c Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
lpass-va-macro.c ASoC: lpass: use the clock provider API 2021-04-23 13:16:26 +01:00
lpass-wsa-macro.c ASoC: lpass: use the clock provider API 2021-04-23 13:16:26 +01:00
lpass-wsa-macro.h
madera.c
madera.h ASoC: madera: align function prototype 2021-03-11 13:24:12 +00:00
max9759.c
max9768.c
max9850.c
max9850.h
max9860.c
max9860.h
max9867.c
max9867.h
max9877.c
max9877.h
max98088.c
max98088.h
max98090.c ASoC: max98090: remove useless assignment 2021-03-18 13:50:44 +00:00
max98090.h
max98095.c
max98095.h
max98357a.c
max98371.c
max98371.h
max98373-i2c.c ASoC: max98373: Changed amp shutdown register as volatile 2021-03-25 13:59:46 +00:00
max98373-sdw.c ASoC: max98373: Changed amp shutdown register as volatile 2021-03-25 13:59:46 +00:00
max98373-sdw.h
max98373.c Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
max98373.h ASoC: max98373: Added controls for autorestart config 2021-03-25 13:58:57 +00:00
max98390.c ASoC: max98390: Add support for tx slot configuration. 2021-04-06 17:13:28 +01:00
max98390.h ASoC: max98390: Add support for tx slot configuration. 2021-04-06 17:13:28 +01:00
max98504.c
max98504.h
max98925.c
max98925.h
max98926.c
max98926.h
max98927.c
max98927.h
mc13783.c
mc13783.h
ml26124.c
ml26124.h
msm8916-wcd-analog.c
msm8916-wcd-digital.c
mt6351.c
mt6351.h
mt6358.c ASoC: mt6358: remove useless initializations 2021-03-18 13:50:45 +00:00
mt6358.h
mt6359-accdet.c ASoC: mediatek: mt6359: Fix spelling mistake "reate" -> "create" 2021-03-30 12:42:50 +01:00
mt6359-accdet.h ASoC: mediatek: mt6359: add MT6359 accdet jack driver 2021-03-25 17:39:27 +00:00
mt6359.c ASoC: mt6359: remove useless assignment 2021-03-18 13:50:46 +00:00
mt6359.h ASoC: mediatek: mt6359: add MT6359 accdet jack driver 2021-03-25 17:39:27 +00:00
mt6660.c
mt6660.h
nau8315.c
nau8540.c
nau8540.h
nau8810.c
nau8810.h
nau8822.c
nau8822.h
nau8824.c
nau8824.h
nau8825.c ASoC: nau8825: remove useless assignment 2021-03-18 13:50:47 +00:00
nau8825.h
pcm179x-i2c.c
pcm179x-spi.c
pcm179x.c
pcm179x.h
pcm186x-i2c.c
pcm186x-spi.c
pcm186x.c
pcm186x.h
pcm512x-i2c.c
pcm512x-spi.c
pcm512x.c
pcm512x.h
pcm1681.c ASoC: pcm1681: remove useless assignment 2021-03-18 13:50:48 +00:00
pcm1789-i2c.c
pcm1789.c
pcm1789.h
pcm3008.c
pcm3008.h
pcm3060-i2c.c
pcm3060-spi.c
pcm3060.c
pcm3060.h
pcm3168a-i2c.c
pcm3168a-spi.c
pcm3168a.c
pcm3168a.h
pcm5102a.c
rk3328_codec.c
rk3328_codec.h
rl6231.c
rl6231.h
rl6347a.c
rl6347a.h
rt274.c
rt274.h
rt286.c ASoC: rt286: Generalize support for ALC3263 codec 2021-04-19 16:53:25 +01:00
rt286.h
rt298.c ASoC: rt298: Configure combo jack for headphones 2021-04-19 16:53:24 +01:00
rt298.h
rt700-sdw.c ASoC: rt*: Constify static struct sdw_slave_ops 2021-03-10 13:06:32 +00:00
rt700-sdw.h
rt700.c ASoC: rt*: Constify static struct snd_soc_dai_ops 2021-03-10 13:06:33 +00:00
rt700.h
rt711-sdca-sdw.c ASoC: rt711-sdca: Add RT711 SDCA vendor-specific driver 2021-03-10 13:13:31 +00:00
rt711-sdca-sdw.h ASoC: rt711-sdca: Add RT711 SDCA vendor-specific driver 2021-03-10 13:13:31 +00:00
rt711-sdca.c ASoC: rt711-sdca: add the notification when volume changed 2021-04-23 15:36:12 +01:00
rt711-sdca.h ASoC: rt711-sdca: change capture switch controls 2021-04-23 15:36:11 +01:00
rt711-sdw.c ASoC: rt*: Constify static struct sdw_slave_ops 2021-03-10 13:06:32 +00:00
rt711-sdw.h
rt711.c ALSA: control - add generic LED API 2021-03-31 17:16:14 +01:00
rt711.h
rt715-sdca-sdw.c ASoC: rt715-sdca: Fix return value check in rt715_sdca_sdw_probe() 2021-03-10 13:14:32 +00:00
rt715-sdca-sdw.h ASoC: rt715-sdca: Add RT715 sdca vendor-specific driver 2021-03-10 13:13:27 +00:00
rt715-sdca.c ASoC: rt715-sdca: Constify static struct snd_soc_dai_ops 2021-04-09 13:39:48 +01:00
rt715-sdca.h ASoC: rt715-sdca: Add RT715 sdca vendor-specific driver 2021-03-10 13:13:27 +00:00
rt715-sdw.c ASoC: rt*: Constify static struct sdw_slave_ops 2021-03-10 13:06:32 +00:00
rt715-sdw.h
rt715.c ASoC: rt715: remove kcontrols which no longer be used 2021-04-16 17:20:01 +01:00
rt715.h ASoC: rt715: remove kcontrols which no longer be used 2021-04-16 17:20:01 +01:00
rt1011.c Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
rt1011.h ASoC: rt1011: remove pack_id check in rt1011 2021-04-08 15:08:49 +01:00
rt1015.c ASoC: rt1015: Add bclk detection and dc detection 2021-03-25 13:58:56 +00:00
rt1015.h ASoC: rt1015: Add bclk detection and dc detection 2021-03-25 13:58:56 +00:00
rt1015p.c ASoC: rt1015p: add support on format S32_LE 2021-04-20 13:47:29 +01:00
rt1016.c ASoC: rt1016: clarify expression 2021-03-10 13:09:57 +00:00
rt1016.h
rt1019.c ASoC: rt1019: remove registers to sync with rt1019 datasheet 2021-04-09 13:39:51 +01:00
rt1019.h ASoC: rt1019: remove registers to sync with rt1019 datasheet 2021-04-09 13:39:51 +01:00
rt1305.c ASoC: rt1305: clarify expression 2021-03-10 13:09:58 +00:00
rt1305.h
rt1308-sdw.c ASoC: rt*: Constify static struct sdw_slave_ops 2021-03-10 13:06:32 +00:00
rt1308-sdw.h
rt1308.c ASoC: rt1308: clarify expression 2021-03-10 13:09:59 +00:00
rt1308.h
rt1316-sdw.c ASoC: rt1316: Fix return value check in rt1316_sdw_probe() 2021-03-10 13:13:20 +00:00
rt1316-sdw.h ASoC: rt1316: Add RT1316 SDCA vendor-specific driver 2021-03-10 13:07:22 +00:00
rt5514-spi.c
rt5514-spi.h
rt5514.c
rt5514.h
rt5616.c
rt5616.h
rt5631.c ASoC: rt5631: fix kernel-doc warning 2021-03-10 13:10:39 +00:00
rt5631.h
rt5640.c ASoC: rt5640: Rename 'Mono DAC Playback Volume' to 'DAC2 Playback Volume' 2021-03-12 20:47:18 +00:00
rt5640.h
rt5645.c ASoC: rt5645: add error checking to rt5645_probe function 2021-05-13 18:32:35 +02:00
rt5645.h ASoC: rt5645: Move rt5645_platform_data to sound/soc/codecs/rt5645.c 2021-03-10 13:13:29 +00:00
rt5651.c ASoC: rt5651: remove useless assignment 2021-03-10 13:10:04 +00:00
rt5651.h
rt5659.c ALSA: control - add generic LED API 2021-03-31 17:16:14 +01:00
rt5659.h
rt5660.c ASoC: rt5660: clarify expression 2021-03-10 13:10:05 +00:00
rt5660.h
rt5663.c ASoC: rt5663: clarify expression 2021-03-10 13:10:06 +00:00
rt5663.h
rt5665.c ASoC: rt5665: clarify expression 2021-03-10 13:10:07 +00:00
rt5665.h
rt5668.c ASoC: rt5668: remove useless assignments 2021-03-10 13:10:09 +00:00
rt5668.h
rt5670-dsp.h
rt5670.c ASoC: rt5670: Add a rt5670_components() helper 2021-04-02 16:13:23 +01:00
rt5670.h ASoC: rt5670: Add a rt5670_components() helper 2021-04-02 16:13:23 +01:00
rt5677-spi.c
rt5677-spi.h
rt5677.c ASoC: rt5677: remove useless assignment 2021-03-10 13:10:12 +00:00
rt5677.h
rt5682-i2c.c ASoC: rt5682: add delay time of workqueue to control next IRQ event 2021-03-10 13:14:34 +00:00
rt5682-sdw.c ASoC: rt5682: add delay time of workqueue to control next IRQ event 2021-03-10 13:14:34 +00:00
rt5682.c ASoC: rt5682: clock driver must use the clock provider API 2021-04-23 13:16:25 +01:00
rt5682.h ASoC: rt5682: add delay time of workqueue to control next IRQ event 2021-03-10 13:14:34 +00:00
sgtl5000.c ASoC: sgtl5000: Fix identation of .driver elements 2021-03-10 13:13:19 +00:00
sgtl5000.h
si476x.c
sigmadsp-i2c.c
sigmadsp-regmap.c ASoC: sigmadsp-regmap: fix kernel-doc warning 2021-03-10 13:10:40 +00:00
sigmadsp.c ASoC: sigmadsp: Disable cache mechanism for readbacks 2021-04-19 16:51:52 +01:00
sigmadsp.h ASoC: sigmadsp: align function prototype 2021-03-18 13:50:49 +00:00
simple-amplifier.c
simple-mux.c
spdif_receiver.c
spdif_transmitter.c
ssm2305.c
ssm2518.c
ssm2518.h
ssm2602-i2c.c
ssm2602-spi.c
ssm2602.c
ssm2602.h
ssm4567.c
sta32x.c
sta32x.h
sta350.c
sta350.h
sta529.c
stac9766.c
sti-sas.c ASoC: sti-sas: remove unused struct members 2021-03-18 13:50:50 +00:00
tas571x.c
tas571x.h
tas2552.c ASoC: codecs: Fix runtime PM imbalance in tas2552_probe 2021-04-08 15:08:50 +01:00
tas2552.h
tas2562.c ASoC: tas2562: remove warning on return value 2021-03-18 13:50:52 +00:00
tas2562.h
tas2764.c ASoC: tas2764: constify static struct snd_soc_dai_ops 2021-04-08 15:21:50 +01:00
tas2764.h
tas2770.c ASoC: tas2770: Constify static struct snd_soc_dai_ops 2021-04-08 15:21:55 +01:00
tas2770.h
tas5086.c
tas5720.c
tas5720.h
tas6424.c
tas6424.h
tda7419.c
tfa9879.c
tfa9879.h
tlv320adcx140.c
tlv320adcx140.h
tlv320aic3x-i2c.c ASoC: codecs: tlv320aic3x: add AIC3106 2021-04-08 15:21:49 +01:00
tlv320aic3x-spi.c ASoC: codecs: tlv320aic3x: add AIC3106 2021-04-08 15:21:49 +01:00
tlv320aic3x.c ASoC: codecs: tlv320aic3x: add AIC3106 2021-04-08 15:21:49 +01:00
tlv320aic3x.h ASoC: codecs: tlv320aic3x: add AIC3106 2021-04-08 15:21:49 +01:00
tlv320aic23-i2c.c
tlv320aic23-spi.c
tlv320aic23.c
tlv320aic23.h
tlv320aic26.c
tlv320aic26.h
tlv320aic31xx.c
tlv320aic31xx.h
tlv320aic32x4-clk.c
tlv320aic32x4-i2c.c
tlv320aic32x4-spi.c
tlv320aic32x4.c ASoC: tlv320aic32x4: Register clocks before registering component 2021-04-06 17:12:34 +01:00
tlv320aic32x4.h
tlv320dac33.c ASoC: tlv320dac33: clarify expression 2021-03-18 13:50:54 +00:00
tlv320dac33.h
tpa6130a2.c
tpa6130a2.h
ts3a227e.c
ts3a227e.h
tscs42xx.c
tscs42xx.h
tscs454.c ASoC: tscs454: remove useless test on PLL disable 2021-03-18 13:50:55 +00:00
tscs454.h
twl4030.c
twl6040.c
twl6040.h
uda134x.c
uda134x.h
uda1334.c
uda1380.c
uda1380.h
wcd-clsh-v2.c
wcd-clsh-v2.h ASoC: wcd-clsh-v2: align function prototypes 2021-03-10 13:01:55 +00:00
wcd934x.c ASoC: wcd934x: use the clock provider API 2021-04-23 13:16:24 +01:00
wcd9335.c ASoC: wcd9335: constify static struct snd_soc_dai_ops 2021-04-09 13:39:55 +01:00
wcd9335.h
wl1273.c
wl1273.h
wm0010.c
wm1250-ev1.c
wm2000.c
wm2000.h
wm2200.c ASoC: wm2200: remove unused structure 2021-03-11 13:24:13 +00:00
wm2200.h
wm5100-tables.c
wm5100.c
wm5100.h
wm5102.c ASoC: arizona: Make the wm5102, wm5110, wm8997 and wm8998 drivers use the new jack library 2021-03-24 19:50:19 +00:00
wm5102.h
wm5110.c ASoC: arizona: Make the wm5102, wm5110, wm8997 and wm8998 drivers use the new jack library 2021-03-24 19:50:19 +00:00
wm5110.h
wm8350.c
wm8350.h
wm8400.c
wm8400.h
wm8510.c
wm8510.h
wm8523.c
wm8523.h
wm8524.c ASoC: wm8524: Do not print probe defer error 2021-03-10 13:08:48 +00:00
wm8580.c
wm8580.h
wm8711.c
wm8711.h
wm8727.c
wm8728.c
wm8728.h
wm8731.c
wm8731.h
wm8737.c
wm8737.h
wm8741.c
wm8741.h
wm8750.c
wm8750.h
wm8753.c
wm8753.h
wm8770.c
wm8770.h
wm8776.c
wm8776.h
wm8782.c
wm8804-i2c.c
wm8804-spi.c
wm8804.c
wm8804.h
wm8900.c
wm8900.h
wm8903.c ASoC: wm8903: remove useless assignments 2021-03-11 13:24:13 +00:00
wm8903.h
wm8904.c
wm8904.h
wm8940.c
wm8940.h
wm8955.c
wm8955.h
wm8958-dsp2.c ASoC: wm8958-dsp2: rename local 'control' arrays 2021-03-11 13:24:14 +00:00
wm8960.c Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
wm8960.h
wm8961.c
wm8961.h
wm8962.c ASoC: wm8962: Relax bit clock divider searching 2021-03-10 13:13:25 +00:00
wm8962.h
wm8971.c
wm8971.h
wm8974.c
wm8974.h
wm8978.c ASoC: wm8978: clarify expression 2021-03-11 13:24:15 +00:00
wm8978.h
wm8983.c
wm8983.h
wm8985.c
wm8985.h
wm8988.c
wm8988.h
wm8990.c
wm8990.h
wm8991.c
wm8991.h
wm8993.c
wm8993.h
wm8994.c
wm8994.h ASoC: wm8994: align function prototype 2021-03-11 13:24:16 +00:00
wm8995.c
wm8995.h
wm8996.c ASoC: wm8996: clarify expression 2021-03-11 13:24:17 +00:00
wm8996.h
wm8997.c ASoC: arizona: Make the wm5102, wm5110, wm8997 and wm8998 drivers use the new jack library 2021-03-24 19:50:19 +00:00
wm8997.h
wm8998.c ASoC: arizona: Make the wm5102, wm5110, wm8997 and wm8998 drivers use the new jack library 2021-03-24 19:50:19 +00:00
wm8998.h
wm9081.c
wm9081.h
wm9090.c
wm9090.h
wm9705.c
wm9712.c
wm9713.c
wm9713.h
wm_adsp.c ASoC: wm_adsp: simplify return value 2021-03-11 13:24:18 +00:00
wm_adsp.h
wm_hubs.c
wm_hubs.h ASoC: wm_hubs: align function prototype 2021-03-11 13:24:19 +00:00
wmfw.h
wsa881x.c ASoC: codecs: wsa881x: constify static struct snd_soc_dai_ops 2021-04-08 15:21:49 +01:00
zl38060.c