]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Fix setting DAI data format
authorSamuel Holland <samuel@sholland.org>
Mon, 17 Feb 2020 06:42:22 +0000 (00:42 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 17 Feb 2020 21:58:41 +0000 (21:58 +0000)
commit183aa92fea45df1dc95161aa392b2f168ff496e0
treed1e46fb07a230a19b5b70aac30e5118c3a460057
parent6d9941349ff65e6fa33a762d114ea7395e320ef8
ASoC: sun8i-codec: Fix setting DAI data format

Use the correct mask for this two-bit field. This fixes setting the DAI
data format to RIGHT_J or DSP_A.

Fixes: 34e3582f60fb ("ASoC: Add sun8i digital audio codec")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20200217064250.15516-7-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c