]> 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)
commitfbb66e8ca2a62c6c60e00b09433ddf5e8bf4cb82
tree04aa4b389ea14b76cc2dd987db2cdcad61901cf1
parentb10b721662d71c3c615e26126aa6b767baf21b33
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