diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-01-20 14:35:40 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-21 13:48:00 -0500 |
commit | ae1f8ce1925645b047394a59d4108e27fad9a9d8 (patch) | |
tree | 44e0c508e43c217602da7efd207d3482a55ff25d /sound | |
parent | 7552f34a790069a008bd3e2ab4c0954b30c2f63b (diff) |
ASoC: fsl_ssi: We do support master mode now
Since commit aafa85e71a (ASoC: fsl_ssi: Add DAI master mode support for SSI on
i.MX series) master mode is supported, so update the comments and code to
reflect that.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index f9090b167ad7..c5205690791e 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -1262,18 +1262,13 @@ static int fsl_ssi_probe(struct platform_device *pdev) | |||
1262 | return -EINVAL; | 1262 | return -EINVAL; |
1263 | hw_type = (enum fsl_ssi_type) of_id->data; | 1263 | hw_type = (enum fsl_ssi_type) of_id->data; |
1264 | 1264 | ||
1265 | /* We only support the SSI in "I2S Slave" mode */ | ||
1266 | sprop = of_get_property(np, "fsl,mode", NULL); | 1265 | sprop = of_get_property(np, "fsl,mode", NULL); |
1267 | if (!sprop) { | 1266 | if (!sprop) { |
1268 | dev_err(&pdev->dev, "fsl,mode property is necessary\n"); | 1267 | dev_err(&pdev->dev, "fsl,mode property is necessary\n"); |
1269 | return -EINVAL; | 1268 | return -EINVAL; |
1270 | } | 1269 | } |
1271 | if (!strcmp(sprop, "ac97-slave")) { | 1270 | if (!strcmp(sprop, "ac97-slave")) |
1272 | ac97 = true; | 1271 | ac97 = true; |
1273 | } else if (strcmp(sprop, "i2s-slave")) { | ||
1274 | dev_notice(&pdev->dev, "mode %s is unsupported\n", sprop); | ||
1275 | return -ENODEV; | ||
1276 | } | ||
1277 | 1272 | ||
1278 | /* The DAI name is the last part of the full name of the node. */ | 1273 | /* The DAI name is the last part of the full name of the node. */ |
1279 | p = strrchr(np->full_name, '/') + 1; | 1274 | p = strrchr(np->full_name, '/') + 1; |