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

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

Merge "ASoC: open ASM session with 24 bit for 24 bit playback"

parents 7613d2de 8004ba22
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -964,7 +964,8 @@ static int msm_compr_configure_dsp(struct snd_compr_stream *cstream)
		return -EINVAL;
	}

	if (prtd->codec_param.codec.format == SNDRV_PCM_FORMAT_S24_LE)
	if ((prtd->codec_param.codec.format == SNDRV_PCM_FORMAT_S24_LE) ||
		(prtd->codec_param.codec.format == SNDRV_PCM_FORMAT_S24_3LE))
		bits_per_sample = 24;
	else if (prtd->codec_param.codec.format == SNDRV_PCM_FORMAT_S32_LE)
		bits_per_sample = 32;