ASoC: amd: acp3x-rt5682-max9836: Configure jack as not detecting Line Out
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Sat, 5 Aug 2023 16:22:16 +0000 (19:22 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2023 12:59:24 +0000 (13:59 +0100)
commit94c40dbbffa11bec54b5ca74df1c5bb0f52995b9
treeabe12c859e37e6e6325782affae9ba6a69f3f0d8
parent442ece6b3473157a5680aa156be7bd776ff7e378
ASoC: amd: acp3x-rt5682-max9836: Configure jack as not detecting Line Out

The RT5682, RT1015 and RT1015p codecs used in this driver do not seem
capable of distinguishing Line Out connections from Headphone, but
the driver configures its jack object as if it can. Remove the wrong
value from the jack creation call to avoid any confusion.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Link: https://lore.kernel.org/r/20230805162216.441410-1-alpernebiyasak@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp3x-rt5682-max9836.c