Skip to contentSkip to conversation

ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS

PATCH In review Axel Lin 2 participants 2 messages Sep 28, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS

In the case of SND_SOC_DAIFMT_CBS_CFS, adau1373_dai->master should be false.

---
 sound/soc/codecs/adau1373.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/adau1373.c +1 -1
index 2aa40c3..1ccf8dd 100644
@@ -974,7 +974,7 @@ static int adau1373_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 		break;
 	case SND_SOC_DAIFMT_CBS_CFS:
 		ctrl = 0;
-		adau1373_dai->master = true;
+		adau1373_dai->master = false;
 		break;
 	default:
 		return -EINVAL;
Signature · 1 line
1.7.4.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Axel Lin

In the case of SND_SOC_DAIFMT_CBS_CFS, adau1373_dai->master should be false.

Thanks

Quoted 17 lines
---
 sound/soc/codecs/adau1373.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/adau1373.c +1 -1
index 2aa40c3..1ccf8dd 100644
@@ -974,7 +974,7 @@ static int adau1373_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 		break;
 	case SND_SOC_DAIFMT_CBS_CFS:
 		ctrl = 0;
-		adau1373_dai->master = true;
+		adau1373_dai->master = false;
 		break;
 	default:
 		return -EINVAL;