]> www.infradead.org Git - nvme.git/commit
ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating
authorDerek Fang <derek.fang@realtek.com>
Mon, 8 Apr 2024 09:10:56 +0000 (17:10 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 15:40:48 +0000 (16:40 +0100)
commit103abab975087e1f01b76fcb54c91dbb65dbc249
tree180f5cad3bfc508a1023802d9a4e125f8aa34304
parent4b9a474c7c820391c0913d64431ae9e1f52a5143
ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating

The codec leaves tie combo jack's sleeve/ring2 to floating status
default. It would cause electric noise while connecting the active
speaker jack during boot or shutdown.
This patch requests a gpio to control the additional jack circuit
to tie the contacts to the ground or floating.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://msgid.link/r/20240408091057.14165-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c