rk30 i2s : modify CONFIG_HDMI_RK30 to CONFIG_RK_HDMI
author邱建斌 <qjb@rock-chips.com>
Mon, 27 May 2013 02:24:40 +0000 (10:24 +0800)
committer邱建斌 <qjb@rock-chips.com>
Mon, 27 May 2013 02:26:21 +0000 (10:26 +0800)
sound/soc/rk29/rk30_i2s.c

index 230fd1c226a1e17f62e02ba5ea14d4c6dfc6d17d..d22d3173d5164c21da97f4c17960a5be8979a964 100755 (executable)
@@ -89,7 +89,7 @@ static struct rk29_i2s_info rk29_i2s[MAX_I2S];
 
 struct snd_soc_dai_driver rk29_i2s_dai[MAX_I2S];
 EXPORT_SYMBOL_GPL(rk29_i2s_dai);
-#ifdef CONFIG_HDMI_RK30                
+#ifdef CONFIG_RK_HDMI          
 extern int hdmi_get_hotplug(void);
 #endif
 /* 
@@ -125,7 +125,7 @@ static void rockchip_snd_txctrl(struct rk29_i2s_info *i2s, int on)
                opr  &= ~I2S_TRAN_DMA_ENABLE;        
                writel(opr, &(pheadi2s->I2S_DMACR));  
                if(!i2s->i2s_tx_status && !i2s->i2s_rx_status//sync stop i2s rx tx lcrk
-#ifdef CONFIG_HDMI_RK30        
+#ifdef CONFIG_RK_HDMI  
                        &&      hdmi_get_hotplug() == 0 //HDMI_HPD_REMOVED
 #endif                 
                )
@@ -175,7 +175,7 @@ static void rockchip_snd_rxctrl(struct rk29_i2s_info *i2s, int on)
                opr  &= ~I2S_RECE_DMA_ENABLE;
                writel(opr, &(pheadi2s->I2S_DMACR));            
                if(!i2s->i2s_tx_status && !i2s->i2s_rx_status   //sync stop i2s rx tx lcrk
-#ifdef CONFIG_HDMI_RK30        
+#ifdef CONFIG_RK_HDMI  
                        &&      hdmi_get_hotplug() == 0 //HDMI_HPD_REMOVED
 #endif                 
                )