Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 458f6f69 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4addfd88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;