Commit 81a25387 authored by Jean-Paul Saman's avatar Jean-Paul Saman

davinci oss: ifdef enable_adc(), because it is not used.

parent 193a6a17
...@@ -323,6 +323,7 @@ void aic32_show_registers(void) ...@@ -323,6 +323,7 @@ void aic32_show_registers(void)
printk(KERN_INFO "Fsref = (MCLK * %d.%d * R)/(2048 * %d);\n", j, d, p); printk(KERN_INFO "Fsref = (MCLK * %d.%d * R)/(2048 * %d);\n", j, d, p);
} }
#if 0
static void enable_adc(void) static void enable_adc(void)
{ {
audio_aic32_write(LINE1L_TO_LEFT_ADC_CTRL_REG, audio_aic32_write(LINE1L_TO_LEFT_ADC_CTRL_REG,
...@@ -330,6 +331,7 @@ static void enable_adc(void) ...@@ -330,6 +331,7 @@ static void enable_adc(void)
audio_aic32_write(LINE1R_TO_RIGHT_ADC_CTRL_REG, audio_aic32_write(LINE1R_TO_RIGHT_ADC_CTRL_REG,
LINE1R_NOT_CONNECT | RIGHT_ADC_POWER_UP); LINE1R_NOT_CONNECT | RIGHT_ADC_POWER_UP);
} }
#endif
/* enable ADC and enable line1 input*/ /* enable ADC and enable line1 input*/
static void enable_line1_input(void) static void enable_line1_input(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment