aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel
diff options
context:
space:
mode:
authorGravatar Alain Volmat <alain.volmat@foss.st.com> 2023-10-09 10:24:50 +0200
committerGravatar Vinod Koul <vkoul@kernel.org> 2023-10-16 16:40:38 +0530
commit03f25d53b145bc2f7ccc82fc04e4482ed734f524 (patch)
tree34da345dfd2e0a704bd69810033ec03370924755 /drivers/pinctrl/intel
parentdmaengine: dw-axi-dmac: Add support DMAX_NUM_CHANNELS > 16 (diff)
downloadlinux-03f25d53b145bc2f7ccc82fc04e4482ed734f524.tar.gz
linux-03f25d53b145bc2f7ccc82fc04e4482ed734f524.tar.bz2
linux-03f25d53b145bc2f7ccc82fc04e4482ed734f524.zip
dmaengine: stm32-mdma: correct desc prep when channel running
In case of the prep descriptor while the channel is already running, the CCR register value stored into the channel could already have its EN bit set. This would lead to a bad transfer since, at start transfer time, enabling the channel while other registers aren't yet properly set. To avoid this, ensure to mask the CCR_EN bit when storing the ccr value into the mdma channel structure. Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Cc: stable@vger.kernel.org Tested-by: Alain Volmat <alain.volmat@foss.st.com> Link: https://lore.kernel.org/r/20231009082450.452877-1-amelie.delaunay@foss.st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/pinctrl/intel')
0 files changed, 0 insertions, 0 deletions