]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: zx-i2s: flip I2S master/slave mode
authorShawn Guo <shawn.guo@linaro.org>
Sat, 17 Jun 2017 14:25:28 +0000 (22:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jun 2017 16:19:39 +0000 (17:19 +0100)
commita205c159f9e2db586a5ea475f4d22fa22e78fed8
tree55e18a8b812a7f1c0edfae06e7c575bfadf26532
parent6a9a440681f2170b9a07b1cf28c6aa7532c307c8
ASoC: zx-i2s: flip I2S master/slave mode

The SND_SOC_DAIFMT_MASTER bits are defined to specify the master/slave
mode for Codec, not I2S.  So the I2S master/slave mode should be flipped
according to SND_SOC_DAIFMT_MASTER bits.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/zte/zx-i2s.c