diff options
| author | Ashok Reddy Soma <[email protected]> | 2021-08-20 07:43:17 -0600 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2021-09-03 09:15:01 +0200 |
| commit | 020b353be9e6c12ebf49333a81e02d582578f560 (patch) | |
| tree | 1d2b08a13e95f72693eba96849b22b54ea86401f /include/linux/linux_string.h | |
| parent | 72022a5b2e142d4696964ffd354a01b67eb4fa72 (diff) | |
spi: zynqmp_gqspi: Fix dma alignment issue
DMA is aligned to ARCH_DMA_MINALIGN(64 bytes), but as per spec, alignment
required is 4bytes only. Change DMA alignment from ARCH_DMA_MINALIGN to
GQSPI_DMA_ALIGN. Remove alignment of data length in non-exponential case.
Some minor improvements in the initialization to initialize gen_fifo
threshold and disable qspi controller while setting config register.
Signed-off-by: Ashok Reddy Soma <[email protected]>
Tested-by: Michal Simek <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
