diff options
| author | Herve Codina <[email protected]> | 2023-12-05 16:21:00 +0100 |
|---|---|---|
| committer | Herve Codina <[email protected]> | 2023-12-12 10:29:20 +0100 |
| commit | dfe66d012af2ddfa566cf9c860b8472b412fb7e4 (patch) | |
| tree | 247328a391faf4959ecd74c2c7ae22e52b771d02 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | a5ec3a21220da06bdda2e686012ca64fdb6c513d (diff) | |
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: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
Cc: [email protected]
Signed-off-by: Herve Codina <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions