summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42888.c
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2012-02-07 14:30:42 +0800
committerJason Liu <r64343@freescale.com>2012-02-07 18:28:41 +0800
commit634db63cb48a8dd237dd361906fc454be8262849 (patch)
tree814b83042cc75e5cfddee598eff0feda565bf154 /sound/soc/codecs/cs42888.c
parent30175439a32d337e4030754b38efca05cc3d2358 (diff)
ENGR00173869-9: i.mx6dl: add the misc drivers support
This patch change is very trivial and simply just add cpu_is_mx6dl() or using cpu_is_mx6 to replace cpu_is_mx6q each driver owner will check it and adjust it accordingly later, such as sdhc etc. Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'sound/soc/codecs/cs42888.c')
-rw-r--r--sound/soc/codecs/cs42888.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs42888.c b/sound/soc/codecs/cs42888.c
index f2480cc1490f..bc88a719df6f 100644
--- a/sound/soc/codecs/cs42888.c
+++ b/sound/soc/codecs/cs42888.c
@@ -1,6 +1,6 @@
/*
* cs42888.c -- CS42888 ALSA SoC Audio Driver
- * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2010-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
@@ -807,7 +807,7 @@ static int cs42888_probe(struct snd_soc_codec *codec)
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
return ret;
}
- if (cpu_is_mx6q()) {
+ if (cpu_is_mx6q() || cpu_is_mx6dl()) {
for (i = 0; i < ARRAY_SIZE(cs42888->supplies); i++)
cs42888->supplies[i].supply = cs42888_supply_names[i];