diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-10-22 10:11:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-28 23:52:21 +0100 |
commit | e6f6ebc1f8f60d6d44f6be22c6386c238d6a9d97 (patch) | |
tree | d219af1a0e48b5d6351bb9243779c8234a55da65 /block/compat_ioctl.c | |
parent | ASoC: rt5677: fix rt5677 spi driver build (diff) | |
download | linux-e6f6ebc1f8f60d6d44f6be22c6386c238d6a9d97.tar.xz linux-e6f6ebc1f8f60d6d44f6be22c6386c238d6a9d97.zip |
ASoC: rt5677: Add TDM channel mapping function
It is for channel to slot mapping, and it is not only for 8 channels mapping,
but also in 2, 4 and 6 channels mapping. If we want to use the 2 channels in
the stereo2 adc path, we need to set the item "2/1/3/4" or "2/3/1/4".
It also adds for stereo channel swap. It can map the sterero channels "L/R"
to "R/L", "L/L" or R/R.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions