kernel-fxtec-pro1x/sound/soc/sunxi
Samuel Holland e95b050a51 ASoC: sun8i-codec: Fix setting DAI data format
commit 96781fd941b39e1f78098009344ebcd7af861c67 upstream.

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

Fixes: 36c684936f ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-28 16:38:44 +01:00
..
Kconfig
Makefile
sun4i-codec.c
sun4i-i2s.c
sun4i-spdif.c
sun8i-codec-analog.c
sun8i-codec.c ASoC: sun8i-codec: Fix setting DAI data format 2020-02-28 16:38:44 +01:00