@@ -1037,7 +1037,7 @@ static int soc_dai_link_sanity_check(struct snd_soc_card *card,
1037
1037
return - EINVAL ;
1038
1038
}
1039
1039
1040
- #define MAX_DEFAULT_CH_MAP_SIZE 7
1040
+ #define MAX_DEFAULT_CH_MAP_SIZE 8
1041
1041
static struct snd_soc_dai_link_ch_map default_ch_map_sync [MAX_DEFAULT_CH_MAP_SIZE ] = {
1042
1042
{ .cpu = 0 , .codec = 0 },
1043
1043
{ .cpu = 1 , .codec = 1 },
@@ -1046,6 +1046,7 @@ static struct snd_soc_dai_link_ch_map default_ch_map_sync[MAX_DEFAULT_CH_MAP_SIZ
1046
1046
{ .cpu = 4 , .codec = 4 },
1047
1047
{ .cpu = 5 , .codec = 5 },
1048
1048
{ .cpu = 6 , .codec = 6 },
1049
+ { .cpu = 7 , .codec = 7 },
1049
1050
};
1050
1051
static struct snd_soc_dai_link_ch_map default_ch_map_1cpu [MAX_DEFAULT_CH_MAP_SIZE ] = {
1051
1052
{ .cpu = 0 , .codec = 0 },
@@ -1055,6 +1056,7 @@ static struct snd_soc_dai_link_ch_map default_ch_map_1cpu[MAX_DEFAULT_CH_MAP_SIZ
1055
1056
{ .cpu = 0 , .codec = 4 },
1056
1057
{ .cpu = 0 , .codec = 5 },
1057
1058
{ .cpu = 0 , .codec = 6 },
1059
+ { .cpu = 0 , .codec = 7 },
1058
1060
};
1059
1061
static struct snd_soc_dai_link_ch_map default_ch_map_1codec [MAX_DEFAULT_CH_MAP_SIZE ] = {
1060
1062
{ .cpu = 0 , .codec = 0 },
@@ -1064,6 +1066,7 @@ static struct snd_soc_dai_link_ch_map default_ch_map_1codec[MAX_DEFAULT_CH_MAP_S
1064
1066
{ .cpu = 4 , .codec = 0 },
1065
1067
{ .cpu = 5 , .codec = 0 },
1066
1068
{ .cpu = 6 , .codec = 0 },
1069
+ { .cpu = 7 , .codec = 0 },
1067
1070
};
1068
1071
static int snd_soc_compensate_channel_connection_map (struct snd_soc_card * card ,
1069
1072
struct snd_soc_dai_link * dai_link )
0 commit comments