ASoC: qcom: q6asm: pass codec profile to q6asm_open_write
authorVinod Koul <vkoul@kernel.org>
Mon, 16 Mar 2020 05:52:15 +0000 (11:22 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2020 17:52:06 +0000 (17:52 +0000)
commit8504a72f7ce231989cf2a82f0cdbba5b72f65015
tree8e4b58b78c4aaa5c75d4d7447411b479de5eb965
parent20ff1456d26807aa5441be02f0f5459014664aad
ASoC: qcom: q6asm: pass codec profile to q6asm_open_write

Codec profile is required to be passed for WMA codecs so that we know
the codec profile present and tell DSP accordingly, so update this API
to pass the codec profile as argument

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200316055221.1944464-4-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm-dai.c
sound/soc/qcom/qdsp6/q6asm.c
sound/soc/qcom/qdsp6/q6asm.h