imx233: add note about power down bits in audioout

Change-Id: I204acff8ee697d70fd16f9828010646b10a8f11b
This commit is contained in:
Amaury Pouly 2017-01-14 01:12:16 +01:00
parent fd2629422c
commit c41a929119

View file

@ -279,6 +279,8 @@ void imx233_audioout_enable_spkr(bool en)
else else
{ {
BF_SET(AUDIOOUT_SPEAKERCTRL, MUTE); 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); BF_SET(AUDIOOUT_PWRDN, SPEAKER);
} }
#elif IMX233_SUBTARGET >= 3700 #elif IMX233_SUBTARGET >= 3700
@ -311,6 +313,8 @@ void imx233_audioout_enable_spkr(bool en)
/** Reverse procedure */ /** Reverse procedure */
BF_SET(AUDIOOUT_LINEOUTCTRL, MUTE); BF_SET(AUDIOOUT_LINEOUTCTRL, MUTE);
BF_WR(AUDIOOUT_LINEOUTCTRL, CHARGE_CAP(2)); 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); BF_SET(AUDIOOUT_PWRDN, LINEOUT);
} }
#else #else