]> 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)
commit391d590a9c1679422fab78807aad9ad389e7c68b
tree55e18a8b812a7f1c0edfae06e7c575bfadf26532
parentff8fa066ef8b47c0270e40061a181f3a88ff05b7
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