]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
spi: spi-xilinx: Added workaround when startup block is enabled
authorSai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Wed, 27 Mar 2019 09:25:03 +0000 (14:55 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 28 Mar 2019 14:32:14 +0000 (15:32 +0100)
commit318551b8f16192b4cf792f8ebaa4c6d13d0f8d4b
tree0846e902d6307ec0d355284479f026d388090c75
parent2312488345495598a795dc27ad922d77492b61c6
spi: spi-xilinx: Added workaround when startup block is enabled

In AXI SPI when the startup block is enabled in the hardware
STARTUP block don't provide clock as soon as SPI provides command,
first command fails. So to overcome this issue added a workaround
to perform a dummy Read Id if startup block is enabled in the
hardware.

Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Acked-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/spi/spi-xilinx.c