Commit 4759cb1d authored by Harini Katakam's avatar Harini Katakam Committed by Michal Simek
Browse files

SPI: zynq: Use auto start and keep track of transmit count



Use auto start instead of manual start.
Use a variable "trans_cnt" to keep track of number of bytes
transmitted and rely on this instead of TXFULL and RXNEMPTY
status bits. This is a solution for the clock domain crossing
issue.

Signed-off-by: default avatarHarini Katakam <harinik@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 6863e2bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment