]> git.baikalelectronics.ru Git - 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)
commit5b25f9bcd7e737181355d63aeddf3379e68751d2
tree55e18a8b812a7f1c0edfae06e7c575bfadf26532
parent49b9ea16d1e307ba36d1aa63cc69e725e3d7f231
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