ASoC: msm-compress-q6-v2: Set decoder output to 24 bit

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
UtsavBalar1231
2020-08-26 19:58:04 +05:30
parent a3a7bc0542
commit c57ba2dbaf

View File

@@ -1291,7 +1291,7 @@ static int msm_compr_configure_dsp_for_playback
struct snd_compr_runtime *runtime = cstream->runtime;
struct msm_compr_audio *prtd = runtime->private_data;
struct snd_soc_pcm_runtime *soc_prtd = cstream->private_data;
uint16_t bits_per_sample = 16;
uint16_t bits_per_sample = 24;
int dir = IN, ret = 0;
struct audio_client *ac = prtd->audio_client;
uint32_t stream_index;
@@ -2253,7 +2253,7 @@ static int msm_compr_trigger(struct snd_compr_stream *cstream, int cmd)
unsigned long flags;
int stream_id;
uint32_t stream_index;
uint16_t bits_per_sample = 16;
uint16_t bits_per_sample = 24;
spin_lock_irqsave(&prtd->lock, flags);
if (atomic_read(&prtd->error)) {