Add a comment to make the purpose of the endianness flag on the snd_soc_component structure more clear.
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -169,6 +169,15 @@ struct snd_soc_component_driver { · 168 unmodified lines | |||
| 169 | unsigned int idle_bias_on:1; | 169 | unsigned int idle_bias_on:1; |
| 170 | unsigned int suspend_bias_off:1; | 170 | unsigned int suspend_bias_off:1; |
| 171 | unsigned int use_pmdown_time:1; /* care pmdown_time at stop */ | 171 | unsigned int use_pmdown_time:1; /* care pmdown_time at stop */ |
| 172 | /* | ||
| 173 | * Indicates that the component does not care about the endianness of | ||
| 174 | * PCM audio data and the core will ensure that both LE and BE variants | ||
| 175 | * of each used format are present. Typically this is because the | ||
| 176 | * component sits behind a bus that abstracts away the endian of the | ||
| 177 | * original data, ie. one for which the transmission endian is defined | ||
| 178 | * (I2S/SLIMbus/SoundWire), or the concept of endian doesn't exist (PDM, | ||
| 179 | * analogue). | ||
| 180 | */ | ||
| 172 | unsigned int endianness:1; | 181 | unsigned int endianness:1; |
| 173 | unsigned int non_legacy_dai_naming:1; | 182 | unsigned int non_legacy_dai_naming:1; |
| 174 | 183 | ||