Skip to content

Commit

Permalink
ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS
Browse files Browse the repository at this point in the history
In the case of SND_SOC_DAIFMT_CBS_CFS, adau1373_dai->master should be false.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Sep 28, 2011
1 parent 4addfd8 commit 458f6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/adau1373.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 458f6f6

Please sign in to comment.