Re: [PATCH v2 03/28] soc: fsl: cpm1: qmc: Fix rx channel reset

2023-08-08 Thread Christophe Leroy
Le 26/07/2023 à 17:01, Herve Codina a écrit : > The qmc_chan_reset_rx() set the is_rx_stopped flag. This leads to an > inconsistent state in the following sequence. > qmc_chan_stop() > qmc_chan_reset() > Indeed, after the qmc_chan_reset() call, the channel must still be > stopped. Only

[PATCH v2 03/28] soc: fsl: cpm1: qmc: Fix rx channel reset

2023-07-26 Thread Herve Codina
The qmc_chan_reset_rx() set the is_rx_stopped flag. This leads to an inconsistent state in the following sequence. qmc_chan_stop() qmc_chan_reset() Indeed, after the qmc_chan_reset() call, the channel must still be stopped. Only a qmc_chan_start() call can move the channel from stopped