summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2016-07-30 21:28:24 (GMT)
committerJagan Teki <jagannadh.teki@gmail.com>2016-09-21 19:28:26 (GMT)
commitd2998286fc58e3ac6c75ed4d3a1e77b618bbf2ae (patch)
tree182a4b7b709ca147fb85d8dfa239171d66a47b51 /lib/fdtdec.c
parent9b1b6d42256a4c2e59c803afdbf90d39371e61ba (diff)
downloadu-boot-fsl-qoriq-d2998286fc58e3ac6c75ed4d3a1e77b618bbf2ae.tar.xz
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>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions