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:
Matt Sealey
2011-12-02 20:29:01 -06:00
parent 47980f1946
commit e2740bfd48

View File

@@ -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));