ASoC: sun4i-i2s: Add clkdiv offsets to quirks
authorMarcus Cooper <codekipper@gmail.com>
Sat, 12 Aug 2017 11:00:49 +0000 (13:00 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:24:34 +0000 (17:24 +0100)
commit0aef27cab880d9612331350c008aec00cbb3d247
tree049c18bca754ba24e7f110e5f1d5fcb94dd409a5
parent92ff5d085ecc8255600551055262bf98a8f3f1d0
ASoC: sun4i-i2s: Add clkdiv offsets to quirks

The BCLKDIV and MCLKDIV found on newer SoCs start from an offset of 1.
Add the functionality to adjust the division values according to the
needs to the device being used.

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