mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-21 06:18:22 +00:00
Revert "audio: keep SGTL5000 clock on as the same clock is used for SPDIF 48Khz capability"
This actually didn't help anything as somehow the SPDIF and SGTL5000 just stopped working..
This reverts commit 2e1c46fb5c.
This commit is contained in:
@@ -79,8 +79,7 @@ static int mx51_efikamx_audio_amp_enable(int enable)
|
||||
|
||||
static int mx51_efikamx_audio_clock_enable(int enable)
|
||||
{
|
||||
// WARNING: spdif relies on this clock for 48KHz!
|
||||
gpio_set_value(IOMUX_TO_GPIO(EFIKAMX_AUDIO_CLOCK_ENABLE), /*enable ? 0 : 1*/ 0);
|
||||
gpio_set_value(IOMUX_TO_GPIO(EFIKAMX_AUDIO_CLOCK_ENABLE), enable ? 0 : 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -127,7 +126,8 @@ void mx51_efikamx_init_audio(void)
|
||||
{
|
||||
CONFIG_IOMUX(mx51_efikamx_audio_iomux_pins);
|
||||
|
||||
gpio_direction_output(IOMUX_TO_GPIO(EFIKAMX_AUDIO_CLOCK_ENABLE), 0);
|
||||
/* turn the SGTL5000 off to start */
|
||||
gpio_direction_output(IOMUX_TO_GPIO(EFIKAMX_AUDIO_CLOCK_ENABLE), 1);
|
||||
gpio_direction_output(IOMUX_TO_GPIO(EFIKAMX_AMP_ENABLE), 0);
|
||||
gpio_direction_input(IOMUX_TO_GPIO(EFIKAMX_HP_DETECT));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user