Merge "asoc: update number of channel only for default channel map"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
9baaac8d15
@@ -408,8 +408,8 @@ static int msm_compr_set_volume(struct snd_compr_stream *cstream,
|
|||||||
gain_list[0] = volume_l;
|
gain_list[0] = volume_l;
|
||||||
gain_list[1] = volume_r;
|
gain_list[1] = volume_r;
|
||||||
gain_list[2] = volume_l;
|
gain_list[2] = volume_l;
|
||||||
num_channels = 3;
|
if (use_default)
|
||||||
use_default = true;
|
num_channels = 3;
|
||||||
rc = q6asm_set_multich_gain(prtd->audio_client, num_channels,
|
rc = q6asm_set_multich_gain(prtd->audio_client, num_channels,
|
||||||
gain_list, chmap, use_default);
|
gain_list, chmap, use_default);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user