ASoC: Provide API for reordering channels
authorBarry Song <21cnbao@gmail.com>
Fri, 11 Sep 2009 17:16:29 +0000 (01:16 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 Sep 2009 11:37:53 +0000 (12:37 +0100)
commit472df3cbae8da6a949f1392a11958b8d21383735
tree0e8c33fdf2de2cd970c29e7baf52a70fde005a59
parent2312fd8f6b252b7d3c1d74b20c75b7bff98bab65
ASoC: Provide API for reordering channels

The patch adds an interface to set the relationship between audio
channel number and slot number. The interface should be really useful
because audio channel n doesn't always use slot n in all platforms. And
for some devices, the relationship even can change with sound mode
switch in 2.1,3.1,4.1,5.1,6.1,7.1 etc.

Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dai.h
sound/soc/soc-core.c