diff options
author | Yeleswarapu, Nagaradhesh <nagaradh@codeaurora.org> | 2014-02-05 10:26:31 +0530 |
---|---|---|
committer | Yeleswarapu, Nagaradhesh <nagaradh@codeaurora.org> | 2014-02-10 19:22:43 +0530 |
commit | d98c28af321f5ed171a89e7b421c031efc0fcd2f (patch) | |
tree | ad65f42212f91ec861141b77912aeb7493cc887d /sound/soc/msm/msm8226.c | |
parent | cd74cbf9e678b7d2285f166af2658bde2a7a5259 (diff) |
ASoC: msm8226: modify fixup to update PCM format to 16 bit
Update fixup to set backend PCM format.This sets backend
tx format to be 16 bit pcm in case of tunnel mode playback
CRs-Fixed: 593469
Change-Id: Ia08c42bc2ed12f21355925438f605308268d6280
Signed-off-by: Yeleswarapu, Nagaradhesh <nagaradh@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r-- | sound/soc/msm/msm8226.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c index b803c3c5289b..d7bc7a237a54 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -758,6 +758,9 @@ static int msm_slim_0_tx_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, SNDRV_PCM_HW_PARAM_CHANNELS); pr_debug("%s()\n", __func__); + param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, + slim0_rx_bit_format); + rate->min = rate->max = 48000; channels->min = channels->max = msm_slim_0_tx_ch; |