While trying out gapless playback, I found few issues with the existing code This patchset has few fixes and some enhancement to the code to handle multiple streams per asm session and also handle buffers that are not aligned to period sizes. I will send Gapless support patches once compressed gapless state machine is fixed. Thanks, srini Srinivas Kandagatla (8): ASoC: q6asm: add command opcode to timeout error report ASoC: q6asm: handle EOS correctly ASoC: q6asm: rename misleading session id variable ASoC: q6asm: make commands specific to streams ASoC: q6asm: use flags directly from asm-dai ASoC: q6asm: add length to write command token ASoC: q6asm-dai: check available buffer size before sending ASoC: q6asm: allow to specify buffer offset in q6asm_write sound/soc/qcom/qdsp6/q6asm-dai.c | 100 ++++++++++++++-------- sound/soc/qcom/qdsp6/q6asm.c | 138 ++++++++++++++++++------------- sound/soc/qcom/qdsp6/q6asm.h | 42 ++++++---- 3 files changed, 172 insertions(+), 108 deletions(-) -- 2.21.0