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

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

Merge "ASoC: compr: Disable soft-pause for compress playback"

parents c774f9d2 bf1995e4
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -614,12 +614,6 @@ static int msm_compr_configure_dsp(struct snd_compr_stream *cstream)
	int dir = IN, ret = 0;
	struct audio_client *ac = prtd->audio_client;
	uint32_t stream_index;
	struct asm_softpause_params softpause = {
		.enable = SOFT_PAUSE_ENABLE,
		.period = SOFT_PAUSE_PERIOD,
		.step = SOFT_PAUSE_STEP,
		.rampingcurve = SOFT_PAUSE_CURVE_LINEAR,
	};
	struct asm_softvolume_params softvol = {
		.period = SOFT_VOLUME_PERIOD,
		.step = SOFT_VOLUME_STEP,
@@ -657,11 +651,6 @@ static int msm_compr_configure_dsp(struct snd_compr_stream *cstream)
	if (ret < 0)
		pr_err("%s : Set Volume failed : %d", __func__, ret);

	ret = q6asm_set_softpause(ac, &softpause);
	if (ret < 0)
		pr_err("%s: Send SoftPause Param failed ret=%d\n",
			__func__, ret);

	ret = q6asm_set_softvolume(ac, &softvol);
	if (ret < 0)
		pr_err("%s: Send SoftVolume Param failed ret=%d\n",