1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-18 23:29:52 +01:00
Files
u-boot-megous/drivers
Lad, Prabhakar d2998286fc spi: zynq_spi: Fix infinite looping while xfer
During spi transfer, for example:
sspi 1:1.0 8 ff

the rx_len values will  be:
rx_len = 0
rx_len = 4294967295

This caused a busy looping during xfer, this patch fixes it
by adding a check while reading the rx fifo

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
2016-09-22 00:58:26 +05:30
..
2015-11-02 10:38:00 +09:00
2016-08-02 09:47:34 -07:00
2016-09-01 20:08:48 -05:00
2016-01-27 15:32:05 +01:00
2016-08-15 15:29:03 -05:00
2016-08-15 10:26:13 -07:00
2016-07-14 18:33:11 -04:00
2016-02-06 12:00:59 +01:00
2016-08-12 16:00:50 -04:00
2016-03-14 19:21:44 -04:00
2016-09-16 17:03:39 -04:00