On Fri, Jun 16, 2023 at 1:45 AM Marek Vasut <marex@xxxxxxx> wrote: > > Wait until the command transfer FIFO is empty before loading in the next > command. The previous behavior where the code waited until command transfer > FIFO was not full suffered from transfer corruption, where the last command > in the FIFO could be overwritten in case the FIFO indicates not full, but > also does not have enough space to store another transfer yet. > > Signed-off-by: Marek Vasut <marex@xxxxxxx> > --- Reviewed-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> Tested-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> # imx8mm-icore