diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-14 01:12:16 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-14 01:17:25 +0100 |
commit | c41a929119e22561dcc5432eea42b4764a23a7d7 (patch) | |
tree | 133c6d79f2c9ebf71c74d7a87c183dde15b99c84 | |
parent | fd2629422ca8e3f351ddfc79a63e77fea177261e (diff) | |
download | rockbox-c41a929.tar.gz rockbox-c41a929.zip |
imx233: add note about power down bits in audioout
Change-Id: I204acff8ee697d70fd16f9828010646b10a8f11b
-rw-r--r-- | firmware/target/arm/imx233/audioout-imx233.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |