diff options
author | Marek Szyprowski <[email protected]> | 2023-08-09 12:04:46 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-09 12:52:36 +0100 |
commit | 48c6253fefa38556e0c5c2942edd9181529407e4 (patch) | |
tree | 3e4d468283dfdd9fec7379cceb2b52916b679917 /net/lapb/lapb_in.c | |
parent | 1a5ca2aad7b907f9d7101eaba7dfa068b2da3bdd (diff) |
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: d27224a45e54 ("ASoC: samsung: midas_wm1811: Map missing jack kcontrols")
Signed-off-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions