summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-audmux.c
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@linutronix.de>2012-07-18 15:01:17 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-18 23:09:40 +0200
commit409b78cc17a4a3d07a541037575da648ced99437 (patch)
treebbfe614f3ec7751cdb2151f5809dfcb5ed393427 /sound/soc/fsl/imx-audmux.c
parentASoC: littlemill: Add userspace control of the WM1250 I/O (diff)
downloadlinux-409b78cc17a4a3d07a541037575da648ced99437.tar.xz
linux-409b78cc17a4a3d07a541037575da648ced99437.zip
ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define
The MX31 Audmux also has 7 Ports. This patch adds the missing define, and makes the debugfs code iterate over that port too. Signed-off-by: Torben Hohn <torbenh@linutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/imx-audmux.c')
-rw-r--r--sound/soc/fsl/imx-audmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index 080327414c6b..e7c800ebbd75 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -156,7 +156,7 @@ static void __init audmux_debugfs_init(void)
return;
}
- for (i = 0; i < MX31_AUDMUX_PORT6_SSI_PINS_6 + 1; i++) {
+ for (i = 0; i < MX31_AUDMUX_PORT7_SSI_PINS_7 + 1; i++) {
snprintf(buf, sizeof(buf), "ssi%d", i);
if (!debugfs_create_file(buf, 0444, audmux_debugfs_root,
(void *)i, &audmux_debugfs_fops))