summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/audioout-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/audioout-imx233.c')
-rw-r--r--firmware/target/arm/imx233/audioout-imx233.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c
index 4e26fe1349..a33e3c8a2a 100644
--- a/firmware/target/arm/imx233/audioout-imx233.c
+++ b/firmware/target/arm/imx233/audioout-imx233.c
@@ -348,10 +348,10 @@ struct imx233_audioout_info_t imx233_audioout_get_info(void)
info.spkrmute[0] = info.spkrmute[1] = BF_RD(AUDIOOUT_SPKRVOL, MUTE);
info.spkr = !BF_RD(AUDIOOUT_PWRDN, SPEAKER);
#else
- /* STMP3700/3770 has not speaker amplifier */
+ /* STMP3700/3770 has not speaker amplifier, assume it is on lineout */
info.spkrvol[0] = info.spkrvol[1] = 0;
- info.spkrmute[0] = info.spkrmute[1] = true;
- info.spkr = false;
+ info.spkrmute[0] = info.spkrmute[1] = BF_RD(AUDIOOUT_LINEOUTCTRL, MUTE);
+ info.spkr = !BF_RD(AUDIOOUT_PWRDN, LINEOUT);
#endif
info.ss3d = BF_RD(AUDIOOUT_CTRL, SS3D_EFFECT);
info.ss3d = info.ss3d == 0 ? 0 : 15 * (1 + info.ss3d);