-
由 M'boumba Cedric Madianga 提交于
This patch resolves the residue computation issue detected in cyclic mode. Now, in cyclic mode, we increment next_sg variable as soon as a period is transferred instead of after pushing a new sg request. Then, we take into account that after transferring a complete buffer, the next_sg variable is equal to 0. Signed-off-by: NM'boumba Cedric Madianga <cedric.madianga@gmail.com> Reviewed-by: NLudovic BARRE <ludovic.barre@st.com> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
2b12c558