ASoC: sun4i-i2s: bclk and lrclk polarity tidyup
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:34 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:15:53 +0000 (17:15 +0100)
commit296935213feb7bcb72ab8750a8cacb66baeb0eb3
tree4622eca237ba9fbe6a1a1f9fcd1814489d6b8258
parent771647159125e93547f15daa14131a30a26f9b60
ASoC: sun4i-i2s: bclk and lrclk polarity tidyup

On newer SoCs the bit fields for the blck and lrclk polarity are in
a different locations. Use regmap fields to set the polarity bits
as intended.

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