Skip to content
Commit 151ab22c authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Fix up CODEC DAI formats for big endian CPUs



ASoC uses the standard ALSA data format definitions to specify the wire
format used between the CPU and CODEC. Since the ALSA data formats all
include the endianess of the data but this information is not relevant
by the time the data has been encoded onto the serial link to the CODEC
this means that either all the CODEC drivers need to declare both big and
little endian variants or the core needs to fix up the format constraints
specified by CODEC drivers.

For now take the latter approach - this will need to be revisited if any
CODECs are endianness dependant.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b4df0a6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment