From c41a929119e22561dcc5432eea42b4764a23a7d7 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 14 Jan 2017 01:12:16 +0100 Subject: imx233: add note about power down bits in audioout Change-Id: I204acff8ee697d70fd16f9828010646b10a8f11b --- firmware/target/arm/imx233/audioout-imx233.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm/imx233') diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c index a4c353c88e..4e26fe1349 100644 --- a/firmware/target/arm/imx233/audioout-imx233.c +++ b/firmware/target/arm/imx233/audioout-imx233.c @@ -279,6 +279,8 @@ void imx233_audioout_enable_spkr(bool en) else { BF_SET(AUDIOOUT_SPEAKERCTRL, MUTE); + /* despite what the manual says, we can perfectly set and clear this bit + * at will, no need for a reset */ BF_SET(AUDIOOUT_PWRDN, SPEAKER); } #elif IMX233_SUBTARGET >= 3700 @@ -311,6 +313,8 @@ void imx233_audioout_enable_spkr(bool en) /** Reverse procedure */ BF_SET(AUDIOOUT_LINEOUTCTRL, MUTE); BF_WR(AUDIOOUT_LINEOUTCTRL, CHARGE_CAP(2)); + /* despite what the manual says, we can perfectly set and clear this bit + * at will, no need for a reset */ BF_SET(AUDIOOUT_PWRDN, LINEOUT); } #else -- cgit