ASoC: sun4i-i2s: Add regmap fields for channels
authorMarcus Cooper <codekipper@gmail.com>
Sat, 19 Aug 2017 12:48:32 +0000 (14:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2017 16:15:44 +0000 (17:15 +0100)
commit6eb4f27419d9250ac632df15d9dcf916d84b9944
tree5068efbf51591c4506d2622935e25e52e54629de
parent827807549e690c84bba5aac99b58dfbd52fcef8c
ASoC: sun4i-i2s: Add regmap fields for channels

On the original i2s block the channel mapping and selection were
configured for stereo audio by default: This is not the case with
the newer SoCs and they are also located at different offsets.

To support the newer SoC then regmap fields have been added to the
quirks and these are initialised to their correct settings during
probing.

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