rk30 i2s : fix CONFIG_SND_I2SO_USE_EIGHT_CHANNELS error
author邱建斌 <qjb@rock-chips.com>
Fri, 21 Dec 2012 09:57:48 +0000 (17:57 +0800)
committer邱建斌 <qjb@rock-chips.com>
Fri, 21 Dec 2012 09:58:31 +0000 (17:58 +0800)
sound/soc/rk29/rk30_i2s.c

index 64e6b2c0c524bf62bc517019dea979ab37a3f395..ed527560b88be6d2e55cc6f02616ccfb3325536d 100755 (executable)
@@ -507,7 +507,7 @@ static int rockchip_i2s_dai_probe(struct snd_soc_dai *dai)
                        rk30_mux_api_set(GPIO0B2_I2S8CHLRCKRX_NAME, GPIO0B_I2S_8CH_LRCK_RX);
                        rk30_mux_api_set(GPIO0B3_I2S8CHLRCKTX_NAME, GPIO0B_I2S_8CH_LRCK_TX);    
                        rk30_mux_api_set(GPIO0B4_I2S8CHSDO0_NAME, GPIO0B_I2S_8CH_SDO0);
-                       #ifdef SND_I2SO_USE_EIGHT_CHANNELS                      
+                       #ifdef CONFIG_SND_I2SO_USE_EIGHT_CHANNELS                       
                        rk30_mux_api_set(GPIO0B5_I2S8CHSDO1_NAME, GPIO0B_I2S_8CH_SDO1);
                        rk30_mux_api_set(GPIO0B6_I2S8CHSDO2_NAME, GPIO0B_I2S_8CH_SDO2);
                        rk30_mux_api_set(GPIO0B7_I2S8CHSDO3_NAME, GPIO0B_I2S_8CH_SDO3);