aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorAllen-KH Cheng <[email protected]>2022-10-31 12:46:33 +0000
committerTudor Ambarus <[email protected]>2022-11-21 14:36:18 +0000
commitfdc20370d93e8c6d2f448a539d08c2c064af7694 (patch)
treed8b991033355f11f10700f2536344e71ccefe1ac /drivers/fpga/xilinx-spi.c
parentmtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q2... (diff)
downloadkernel-fdc20370d93e8c6d2f448a539d08c2c064af7694.tar.gz
kernel-fdc20370d93e8c6d2f448a539d08c2c064af7694.zip
mtd: spi-nor: Fix the number of bytes for the dummy cycles
The number of bytes used by spi_nor_spimem_check_readop() may be incorrect for the dummy cycles. Since nor->read_dummy is not initialized before spi_nor_spimem_adjust_hwcaps(). We use both mode and wait state clock cycles instead of nor->read_dummy. Fixes: 0e30f47232ab ("mtd: spi-nor: add support for DTR protocol") Co-developed-by: Bayi Cheng <[email protected]> Signed-off-by: Bayi Cheng <[email protected]> Signed-off-by: Allen-KH Cheng <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]> Tested-by: Dhruva Gole <[email protected]> Tested-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Pratyush Yadav <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions