Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eecaf2b6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: qdsp6v2: initialize L/R/C gain for both mono/stereo playback"

parents 54a4a462 8d8e7881
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -397,12 +397,9 @@ static int msm_compr_set_volume(struct snd_compr_stream *cstream,
	} else {
		gain_list[0] = volume_l;
		gain_list[1] = volume_r;
		/* force sending FR/FL/FC volume for mono */
		if (prtd->num_channels == 1) {
		gain_list[2] = volume_l;
		num_channels = 3;
		use_default = true;
		}
		rc = q6asm_set_multich_gain(prtd->audio_client, num_channels,
					gain_list, chmap, use_default);
	}