aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/cx2072x.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-05-04 18:08:42 +0100
committerMark Brown <broonie@kernel.org>2022-05-09 12:46:26 +0100
commit1c3cbc1dacecdb427b693992f1a05b5837b33a70 (patch)
treedc145cd02727a1e21794f1d63eebd26c34dae73b /sound/soc/codecs/cx2072x.c
parentASoC: cs35l41: Add endianness flag in snd_soc_component_driver (diff)
downloadwireguard-linux-1c3cbc1dacecdb427b693992f1a05b5837b33a70.tar.xz
wireguard-linux-1c3cbc1dacecdb427b693992f1a05b5837b33a70.zip
ASoC: cx2072x: Add endianness flag in snd_soc_component_driver
The endianness flag is used on the CODEC side to specify an ambivalence to endian, typically because it is lost over the hardware link. This device receives audio over an I2S DAI and as such should have endianness applied. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220504170905.332415-16-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cx2072x.c')
-rw-r--r--sound/soc/codecs/cx2072x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cx2072x.c b/sound/soc/codecs/cx2072x.c
index 0d3a00434c6d..b35debb5818d 100644
--- a/sound/soc/codecs/cx2072x.c
+++ b/sound/soc/codecs/cx2072x.c
@@ -1527,6 +1527,7 @@ static const struct snd_soc_component_driver soc_codec_driver_cx2072x = {
.num_dapm_widgets = ARRAY_SIZE(cx2072x_dapm_widgets),
.dapm_routes = cx2072x_intercon,
.num_dapm_routes = ARRAY_SIZE(cx2072x_intercon),
+ .endianness = 1,
};
/*