linux-imx/drivers/soc/fsl/qe
Herve Codina 075c01f60b soc: fsl: cpm1: qmc: Fix rx channel reset
commit dfe66d012a upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:18:51 -08:00
..
gpio.c gpiolib: split of_mm_gpio_chip out of linux/of_gpio.h 2023-03-06 12:33:01 +02:00
Kconfig ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
Makefile soc: fsl: cpm1: Add support for QMC 2023-03-05 23:37:03 +00:00
qe_common.c soc: fsl: Explicitly include correct DT includes 2023-08-12 10:31:02 +02:00
qe_ic.c
qe_io.c
qe_tdm.c soc: fsl: Explicitly include correct DT includes 2023-08-12 10:31:02 +02:00
qe.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
qmc.c soc: fsl: cpm1: qmc: Fix rx channel reset 2024-01-31 16:18:51 -08:00
tsa.c soc: fsl: cpm1: tsa: Fix __iomem addresses declaration 2024-01-31 16:18:51 -08:00
tsa.h soc: fsl: cpm1: Add support for TSA 2023-03-05 23:36:56 +00:00
ucc_fast.c
ucc_slow.c
ucc.c
usb.c