Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: max98504: 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 a PDM 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-12-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Charles Keepax and committed by
Mark Brown
a0556e3a 1324cd8d

+1
+1
sound/soc/codecs/max98504.c
··· 291 291 .num_dapm_widgets = ARRAY_SIZE(max98504_dapm_widgets), 292 292 .dapm_routes = max98504_dapm_routes, 293 293 .num_dapm_routes = ARRAY_SIZE(max98504_dapm_routes), 294 + .endianness = 1, 294 295 }; 295 296 296 297 static const struct regmap_config max98504_regmap = {