aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2022-04-11 18:31:15 +0100
committerMark Brown <broonie@kernel.org>2022-04-12 17:17:22 +0100
commit6f381481a5b236cb53d6de2c49c6ef83a4d0f432 (patch)
tree17a35f4295ec3d8db38f44bd42e1cf8f4f78fbd9 /drivers/spi/spi.c
parentspi: core: Only check bits_per_word validity when explicitly provided (diff)
downloadlinux-dev-6f381481a5b236cb53d6de2c49c6ef83a4d0f432.tar.xz
linux-dev-6f381481a5b236cb53d6de2c49c6ef83a4d0f432.zip
spi: spi-rspi: Remove setting {src,dst}_{addr,addr_width} based on DMA direction
The direction field in the DMA config is deprecated. The rspi driver sets {src,dst}_{addr,addr_width} based on the DMA direction and it results in dmaengine_slave_config() failure as RZ DMAC driver validates {src,dst}_addr_width values independent of DMA direction. This patch fixes the issue by passing both {src,dst}_{addr,addr_width} values independent of DMA direction. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Suggested-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20220411173115.6619-1-biju.das.jz@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions