]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita31aacbc36c6c940522c61a202682351dc14454a
treeb6805f0dbbf66e3fff961c02b78bad3875097a19
parentd14f4d14669b84ba9dd92bbee41c67c5d8e541a3
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