diff options
author | Hien Huynh <hien.huynh.px@renesas.com> | 2023-07-06 13:21:50 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-07-12 18:54:00 +0200 |
commit | c6ec8c83a29fb3aec3efa6fabbf5344498f57c7f (patch) | |
tree | 46f746a0119d0322193d07fe965098a0e3b7fc0c /fs/pipe.c | |
parent | dmaengine: sh: rz-dmac: Improve cleanup order in probe()/remove() (diff) | |
download | linux-c6ec8c83a29fb3aec3efa6fabbf5344498f57c7f.tar.xz linux-c6ec8c83a29fb3aec3efa6fabbf5344498f57c7f.zip |
dmaengine: sh: rz-dmac: Fix destination and source data size setting
Before setting DDS and SDS values, we need to clear its value first
otherwise, we get incorrect results when we change/update the DMA bus
width several times due to the 'OR' expression.
Fixes: 5000d37042a6 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC")
Cc: stable@kernel.org
Signed-off-by: Hien Huynh <hien.huynh.px@renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230706112150.198941-3-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions