linux-imx/drivers/soc/fsl
Herve Codina dfe66d012a soc: fsl: cpm1: qmc: Fix rx channel reset
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
state to started state.

Fix the issue removing the is_rx_stopped flag setting from
qmc_chan_reset()

Fixes: 3178d58e0b ("soc: fsl: cpm1: Add support for QMC")
Cc: stable@vger.kernel.org
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20231205152116.122512-4-herve.codina@bootlin.com
2023-12-12 10:29:20 +01:00
..
dpio bus: fsl-mc: Make remove function return void 2023-05-30 18:58:43 -05:00
qbman soc: fsl: Use of_property_present() for testing DT property presence 2023-04-14 14:58:50 +02:00
qe soc: fsl: cpm1: qmc: Fix rx channel reset 2023-12-12 10:29:20 +01:00
dpaa2-console.c soc/fsl: dpaa2-console: Convert to platform remove callback returning void 2023-10-14 23:26:45 +02:00
guts.c soc: fsl: guts: check return value after calling of_iomap() in fsl_guts_get_soc_uid() 2022-07-05 08:41:55 +08:00
Kconfig soc: fsl: select FSL_GUTS driver for DPIO 2022-09-02 11:28:40 +02:00
Makefile
rcpm.c