]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
spi: zynqmp: Fix for qspi dma when accessing address space beyond 32-bit
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Thu, 26 Apr 2018 10:00:21 +0000 (15:30 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 26 Apr 2018 14:32:20 +0000 (16:32 +0200)
commit16a66512c49f409188bd7c21d2f20e9723a3739f
tree4e6d491d37227b19d0e2467f0c68d88cdbd4b94e
parent7e8d9f80081e5459d3e50f6786880fa9c5ee49f5
spi: zynqmp: Fix for qspi dma when accessing address space beyond 32-bit

dma_set_mask should be called before registering to spi_master.
In the current flow dma_set_mask is set to 44 bit but after
registering to spi_master. because of this, qspi dma is not able
to access beyond 32-bit address space. during spi_register_master,
core will do some dma transfers, hence not able to access beyond
32-bit address space.

Signed-off-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/spi-zynqmp-gqspi.c