diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-audmux.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/imx-audmux.h | 1 |
2 files changed, 2 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) | |||
156 | return; | 156 | return; |
157 | } | 157 | } |
158 | 158 | ||
159 | for (i = 0; i < MX31_AUDMUX_PORT6_SSI_PINS_6 + 1; i++) { | 159 | for (i = 0; i < MX31_AUDMUX_PORT7_SSI_PINS_7 + 1; i++) { |
160 | snprintf(buf, sizeof(buf), "ssi%d", i); | 160 | snprintf(buf, sizeof(buf), "ssi%d", i); |
161 | if (!debugfs_create_file(buf, 0444, audmux_debugfs_root, | 161 | if (!debugfs_create_file(buf, 0444, audmux_debugfs_root, |
162 | (void *)i, &audmux_debugfs_fops)) | 162 | (void *)i, &audmux_debugfs_fops)) |
diff --git a/sound/soc/fsl/imx-audmux.h b/sound/soc/fsl/imx-audmux.h index 04ebbab8d7b9..b8ff44b9dafa 100644 --- a/sound/soc/fsl/imx-audmux.h +++ b/sound/soc/fsl/imx-audmux.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define MX31_AUDMUX_PORT4_SSI_PINS_4 3 | 14 | #define MX31_AUDMUX_PORT4_SSI_PINS_4 3 |
15 | #define MX31_AUDMUX_PORT5_SSI_PINS_5 4 | 15 | #define MX31_AUDMUX_PORT5_SSI_PINS_5 4 |
16 | #define MX31_AUDMUX_PORT6_SSI_PINS_6 5 | 16 | #define MX31_AUDMUX_PORT6_SSI_PINS_6 5 |
17 | #define MX31_AUDMUX_PORT7_SSI_PINS_7 6 | ||
17 | 18 | ||
18 | #define MX51_AUDMUX_PORT1_SSI0 0 | 19 | #define MX51_AUDMUX_PORT1_SSI0 0 |
19 | #define MX51_AUDMUX_PORT2_SSI1 1 | 20 | #define MX51_AUDMUX_PORT2_SSI1 1 |