aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2020-06-11 13:41:56 +0100
committerVinod Koul <vkoul@kernel.org>2020-07-13 09:45:44 +0530
commitafeee4320bd6af4fc363772e09c77955d08a83ca (patch)
treea275470f359ab8b7c90f7d22d2e85606f0f93346
parentc99f9a82af2fc7e29e5ad179b2c38b3a83b2f299 (diff)
downloadkernel-afeee4320bd6af4fc363772e09c77955d08a83ca.tar.gz
ASoC: q6asm: use flags directly from asm-dai
use flags set by asm-dais directly! This will be useful gapless case where write needs a special flag to indicate that last buffer. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r--sound/soc/qcom/qdsp6/q6asm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/qcom/qdsp6/q6asm.c b/sound/soc/qcom/qdsp6/q6asm.c
index f5d1f3c2c1ec..d6728304ce6a 100644
--- a/sound/soc/qcom/qdsp6/q6asm.c
+++ b/sound/soc/qcom/qdsp6/q6asm.c
@@ -1546,10 +1546,7 @@ int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
write->mem_map_handle =
ac->port[SNDRV_PCM_STREAM_PLAYBACK].mem_map_handle;
- if (wflags == NO_TIMESTAMP)
- write->flags = (wflags & 0x800000FF);
- else
- write->flags = (0x80000000 | wflags);
+ write->flags = wflags;
port->dsp_buf++;