rk610: add rk3188 support
author邱建斌 <qjb@rock-chips.com>
Thu, 10 Jan 2013 02:17:06 +0000 (10:17 +0800)
committer邱建斌 <qjb@rock-chips.com>
Thu, 10 Jan 2013 02:17:06 +0000 (10:17 +0800)
sound/soc/codecs/rk610_codec.c
sound/soc/rk29/rk29_jetta_codec.c

index d03c52613d68acb5f00c518ab9addb8c29a736cb..2f127f6a231665d8ab2cb691d305128609d544aa 100755 (executable)
@@ -42,7 +42,7 @@
 //you can look soc-core.c the resume source.s
 #define RESUME_PROBLEM 0
 
-#if defined(CONFIG_MACH_RK3168_DS1006H)
+#if defined(CONFIG_MACH_RK3168_DS1006H)|| defined(CONFIG_MACH_RK3168_LR097)
 #define RK610_SPK_CTRL_PIN  RK30_PIN2_PD7
 #elif defined(CONFIG_ARCH_RK3066B)
 #define RK610_SPK_CTRL_PIN  RK30_PIN2_PA0
index 97dd57cdc2b8b3a9bbbde99582ee7e06634c89cb..20238edfda838cec61d72d00652b1d39cb79c3d8 100755 (executable)
@@ -127,7 +127,7 @@ static struct snd_soc_ops rk29_ops = {
 static struct snd_soc_dai_link rk29_dai = {
        .name = "RK610_CODEC",
        .stream_name = "RK610 CODEC PCM",
-#if defined(CONFIG_MACH_RK3168_DS1006H)
+#if defined(CONFIG_MACH_RK3168_DS1006H)|| defined(CONFIG_MACH_RK3168_LR097)
        .codec_name = "RK610_CODEC.4-0060",
 #else
        .codec_name = "RK610_CODEC.0-0060",