]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mt6358: Add endianness flag in snd_soc_component_driver
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 4 May 2022 17:08:45 +0000 (18:08 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 11:46:30 +0000 (12:46 +0100)
commitad78c228d57bdbf9cbd28a8550ddd25fecd4966a
tree04aa4b389ea14b76cc2dd987db2cdcad61901cf1
parent4fc3fd417d43ced61c97911a04d39146754e68fc
ASoC: mt6358: 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.

As the core will now expand the formats to cover both endian types,
remove the redundant manual specification of both.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220504170905.332415-19-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/mt6358.c