MIPS: ingenic: gcw0: Set codec to cap-less mode for FM radio

When using the FM radio, we must not have capacitors on the headphones
line, since it is used as the antenna.

The "FM Radio" widget is removed so that the cap-less mode can be
enabled dynamically through DAPM when the line input is used.
This widget was useless anyway.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Paul Cercueil 2021-05-30 18:18:01 +01:00 committed by Thomas Bogendoerfer
parent 318951afb3
commit 5e82cf987a

View file

@ -74,7 +74,6 @@ sound {
simple-audio-card,widgets =
"Speaker", "Speaker",
"Headphone", "Headphones",
"Line", "FM Radio",
"Microphone", "Built-in Mic";
simple-audio-card,routing =
"Headphones Amp INL", "LHPOUT",
@ -85,8 +84,8 @@ sound {
"Speaker Amp INR", "ROUT",
"Speaker", "Speaker Amp OUTL",
"Speaker", "Speaker Amp OUTR",
"LLINEIN", "FM Radio",
"RLINEIN", "FM Radio",
"LLINEIN", "Cap-less",
"RLINEIN", "Cap-less",
"Built-in Mic", "MICBIAS",
"MIC1P", "Built-in Mic",
"MIC1N", "Built-in Mic";