ASoC: sun4i-i2s: Check for slave select bit
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:37 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:16:05 +0000 (17:16 +0100)
commitd03d2737e2d20c6ffb242154a69e1a9313adb632
treeaae6d2c24e82113c0788c9bb12464045fe82fb9b
parentdfd2293c8626f1282e6a6e30f591c0a83146f3d4
ASoC: sun4i-i2s: Check for slave select bit

The newer SoCs do not have this setting. Instead they set the pin
direction. Add a check to see if the bit is valid and if so set
it accordingly.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c