mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
imx233: add note about power down bits in audioout
Change-Id: I204acff8ee697d70fd16f9828010646b10a8f11b
This commit is contained in:
parent
fd2629422c
commit
c41a929119
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue