Commit 950a95d4 authored by Barry Song's avatar Barry Song Committed by Mark Brown

ASoC: Blackfin TDM: use external frame syncs

We don't want to use internal frame syncs otherwise we sometimes
get out of sync, so don't enable them when setting up the SPORT.
Signed-off-by: default avatarBarry Song <barry.song@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e9c20489
...@@ -235,13 +235,13 @@ static int bf5xx_tdm_resume(struct snd_soc_dai *dai) ...@@ -235,13 +235,13 @@ static int bf5xx_tdm_resume(struct snd_soc_dai *dai)
ret = -EBUSY; ret = -EBUSY;
} }
ret = sport_config_rx(sport, IRFS, 0x1F, 0, 0); ret = sport_config_rx(sport, 0, 0x1F, 0, 0);
if (ret) { if (ret) {
pr_err("SPORT is busy!\n"); pr_err("SPORT is busy!\n");
ret = -EBUSY; ret = -EBUSY;
} }
ret = sport_config_tx(sport, ITFS, 0x1F, 0, 0); ret = sport_config_tx(sport, 0, 0x1F, 0, 0);
if (ret) { if (ret) {
pr_err("SPORT is busy!\n"); pr_err("SPORT is busy!\n");
ret = -EBUSY; ret = -EBUSY;
...@@ -303,14 +303,14 @@ static int __devinit bfin_tdm_probe(struct platform_device *pdev) ...@@ -303,14 +303,14 @@ static int __devinit bfin_tdm_probe(struct platform_device *pdev)
goto sport_config_err; goto sport_config_err;
} }
ret = sport_config_rx(sport_handle, IRFS, 0x1F, 0, 0); ret = sport_config_rx(sport_handle, 0, 0x1F, 0, 0);
if (ret) { if (ret) {
pr_err("SPORT is busy!\n"); pr_err("SPORT is busy!\n");
ret = -EBUSY; ret = -EBUSY;
goto sport_config_err; goto sport_config_err;
} }
ret = sport_config_tx(sport_handle, ITFS, 0x1F, 0, 0); ret = sport_config_tx(sport_handle, 0, 0x1F, 0, 0);
if (ret) { if (ret) {
pr_err("SPORT is busy!\n"); pr_err("SPORT is busy!\n");
ret = -EBUSY; ret = -EBUSY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment