mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
asoc: bengal: set format param mask for SLIM_7_TX backend
Enable format mask for SLIM_7_TX backend to fix hardware params setting failure on bengal target. Change-Id: I00d7f8a2613c4b396196222e7e6256f896d58cc6 Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
This commit is contained in:
parent
070e06c2eb
commit
ee5d037b21
1 changed files with 2 additions and 0 deletions
|
|
@ -3465,6 +3465,8 @@ static int msm_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
|||
break;
|
||||
|
||||
case MSM_BACKEND_DAI_SLIMBUS_7_TX:
|
||||
param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT,
|
||||
slim_tx_cfg[SLIM_TX_7].bit_format);
|
||||
rate->min = rate->max = slim_tx_cfg[SLIM_TX_7].sample_rate;
|
||||
channels->min = channels->max =
|
||||
slim_tx_cfg[SLIM_TX_7].channels;
|
||||
|
|
|
|||
Loading…
Reference in a new issue