ASoC: Add mixer control to configure port specific channel map

Add mixer control to configure multi channel map for
each backend separately.

Change-Id: Ie114fa38ee5ce47841cda4cd7f31349905f5c2c7
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
This commit is contained in:
Rohit kumar
2019-02-01 18:05:33 +05:30
committed by Meng Wang
parent 2054b690a9
commit 63ffaa76d5
2 changed files with 36 additions and 1 deletions

View File

@@ -5569,12 +5569,17 @@ struct asm_softvolume_params {
/* Left side direct channel. */
#define PCM_CHANNEL_LSD 33
/* Right side direct channel. */
/* Right side direct channel. Update PCM_MAX_CHMAP_ID when
* this list is extended.
*/
#define PCM_CHANNEL_RSD 34
/* Mark unused channel. */
#define PCM_CHANNEL_UNUSED 47
/* Max valid channel map index */
#define PCM_MAX_CHMAP_ID PCM_CHANNEL_RSD
#define PCM_FORMAT_MAX_NUM_CHANNEL 8
#define PCM_FORMAT_MAX_CHANNELS_9 9