]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00220633 WM8962: add support for wm8962 in mx6sl evk
authorGary Zhang <b13634@freescale.com>
Fri, 17 Aug 2012 02:46:22 +0000 (10:46 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:15 +0000 (08:35 +0200)
add support for audio codec wm8962 in mx6sololite evk board

Signed-off-by: Gary Zhang <b13634@freescale.com>
sound/soc/imx/imx-wm8962.c

index de0dcd60a5942f9ede45e9f09a82cbe5af881534..8da589f2fa6998755da225fe8b036942f534f3e4 100644 (file)
@@ -474,7 +474,7 @@ static int __init imx_asoc_init(void)
 
        if (machine_is_mx6q_sabresd())
                imx_dai[0].codec_name = "wm8962.0-001a";
-       else if (machine_is_mx6sl_arm2())
+       else if (machine_is_mx6sl_arm2() | machine_is_mx6sl_evk())
                imx_dai[0].codec_name = "wm8962.1-001a";
 
        imx_snd_device = platform_device_alloc("soc-audio", 5);