ASoC: sun4i-i2s: Add regmap field to set DAI format
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:36 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:16:02 +0000 (17:16 +0100)
commitdfd2293c8626f1282e6a6e30f591c0a83146f3d4
treefbdea4962a78af2b872cbf2695c11f808ec410cc
parent5f93b0639634929b8349f9f9d83e1d881c1c7d4a
ASoC: sun4i-i2s: Add regmap field to set DAI format

On the newer SoCs the bits to configure the operational mode are
located in a different register. Add a regmap field so that this
location can be configured.

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