From: 邱建斌 Date: Thu, 10 Jan 2013 02:17:06 +0000 (+0800) Subject: rk610: add rk3188 support X-Git-Tag: firefly_0821_release~7968 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eb9517c662752cff14b8828b0f86aa9feb2ff426;p=firefly-linux-kernel-4.4.55.git rk610: add rk3188 support --- diff --git a/sound/soc/codecs/rk610_codec.c b/sound/soc/codecs/rk610_codec.c index d03c52613d68..2f127f6a2316 100755 --- a/sound/soc/codecs/rk610_codec.c +++ b/sound/soc/codecs/rk610_codec.c @@ -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 diff --git a/sound/soc/rk29/rk29_jetta_codec.c b/sound/soc/rk29/rk29_jetta_codec.c index 97dd57cdc2b8..20238edfda83 100755 --- a/sound/soc/rk29/rk29_jetta_codec.c +++ b/sound/soc/rk29/rk29_jetta_codec.c @@ -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",