]> 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)
commit09b5f45e5f5befdeae3c6c19d02530420e77e1ff
tree8e4b58b78c4aaa5c75d4d7447411b479de5eb965
parent70f216275422c7eeaf17dcd53c4c0ba23ae92126
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