]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe5e2e6c2da0863447b5557da91b85e07851e2b8
tree8e4b58b78c4aaa5c75d4d7447411b479de5eb965
parent90906d8eb491af4d2f2d6cb930791f983b8f4055
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