ASoC: sun4i-i2s: Add regfields for word size select and sample resolution
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:33 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:15:50 +0000 (17:15 +0100)
commit771647159125e93547f15daa14131a30a26f9b60
treee7ff99b02ce628ba705aefc3168eea3f6b7a432d
parent6eb4f27419d9250ac632df15d9dcf916d84b9944
ASoC: sun4i-i2s: Add regfields for word size select and sample resolution

On newer SoCs the location of the slot width select and sample
resolution are different and also there is a bigger range of
support.

For the current supported rates then an offset is required.

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