linux/sound/soc/samsung
Marek Szyprowski 48c6253fef
ASoC: samsung: midas_wm1811: Fix 'Headphone Switch' control creation
'Headphone Switch' control is already registered from
sound/soc/codecs/wm_hubs.c:479, so duplicating it in midas_wm1811
causes following probe failure:

midas-audio sound: control 2:0:0:Headphone Switch:0 is already present
midas-audio sound: ASoC: Failed to add Headphone Switch: -16
midas-audio sound: Failed to register card: -16
midas-audio: probe of sound failed with error -16

Fix this by dropping duplicated control.

Fixes: d27224a45e ("ASoC: samsung: midas_wm1811: Map missing jack kcontrols")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20230809100446.2105825-1-m.szyprowski@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-09 12:52:36 +01:00
..
aries_wm8994.c ASoC: samsung: switch to use c2c_params instead of params 2023-04-05 12:16:38 +01:00
arndale.c ASoC: samsung: arndale: Convert to platform remove callback returning void 2023-03-20 13:08:51 +00:00
bells.c ASoC: samsung: switch to use c2c_params instead of params 2023-04-05 12:16:38 +01:00
dma.h
dmaengine.c
i2s-regs.h ASoC: samsung: i2s: add support for FSD I2S 2023-01-17 13:16:04 +00:00
i2s.c ASoC: samsung: i2s: Convert to platform remove callback returning void 2023-03-20 13:08:52 +00:00
i2s.h
idma.c ASoC: samsung: remove unneeded ret variable 2022-01-24 13:31:56 +00:00
idma.h
Kconfig ASoC: samsung: remove unused drivers 2023-01-16 09:26:06 +01:00
littlemill.c ASoC: samsung: littlemill: Map missing jack kcontrols 2023-08-07 14:33:06 +01:00
lowland.c ASoC: samsung: lowland: Split Line Out jack kcontrol from Headphone 2023-08-07 14:33:08 +01:00
Makefile ASoC: samsung: remove unused drivers 2023-01-16 09:26:06 +01:00
midas_wm1811.c ASoC: samsung: midas_wm1811: Fix 'Headphone Switch' control creation 2023-08-09 12:52:36 +01:00
odroid.c ASoC: samsung: use snd_soc_{of_}get_dlc() 2023-06-20 12:49:26 +01:00
pcm.c ASoC: samsung: pcm: Convert to platform remove callback returning void 2023-03-20 13:08:54 +00:00
pcm.h
smdk_spdif.c
smdk_wm8994.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
smdk_wm8994pcm.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
snow.c ASoC: samsung: snow: Convert to platform remove callback returning void 2023-03-20 13:08:55 +00:00
spdif.c ASoC: samsung: spdif: Convert to platform remove callback returning void 2023-03-20 13:08:56 +00:00
spdif.h
speyside.c ASoC: samsung: switch to use c2c_params instead of params 2023-04-05 12:16:38 +01:00
tm2_wm5110.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
tobermory.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00