ASoC: sun4i-i2s: Update global enable with bitmask
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:38 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:16:10 +0000 (17:16 +0100)
commit043b8daa578f30c2ba685ad13b121fd138b95750
treeb6805f0dbbf66e3fff961c02b78bad3875097a19
parentd03d2737e2d20c6ffb242154a69e1a9313adb632
ASoC: sun4i-i2s: Update global enable with bitmask

The default value of the config register is different on newer
SoCs and therefore enabling/disabling with a register write
will clear bits used to set the direction of the clock and frame
pins.

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