Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-26 Thread Jagan Teki
Please resend the patch, patchwork mbox download shows different. On 24 July 2016 at 00:49, Lad, Prabhakar wrote: > On Sat, Jul 23, 2016 at 5:19 PM, Jagan Teki wrote: >> >> On 23 June 2016 at 19:28, Lad, Prabhakar wrote: >> > During spi transfer, for example: >> > sspi 1:1.0 8 ff -- Jagan. __

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-23 Thread Lad, Prabhakar
On Sat, Jul 23, 2016 at 5:19 PM, Jagan Teki wrote: > > On 23 June 2016 at 19:28, Lad, Prabhakar wrote: > > 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 fi

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-23 Thread Jagan Teki
On 23 June 2016 at 19:28, Lad, Prabhakar wrote: > 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:

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-21 Thread Jagan Teki
On 21 July 2016 at 13:54, Lad, Prabhakar wrote: > On Thu, Jul 21, 2016 at 7:58 AM, Jagan Teki wrote: >> On 23 June 2016 at 19:28, Lad, Prabhakar wrote: >>> During spi transfer, for example: >>> sspi 1:1.0 8 ff >>> >>> the rx_len values will be: >>> rx_len = 0 >>> rx_len = 4294967295 >> >> Does

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-21 Thread Lad, Prabhakar
On Thu, Jul 21, 2016 at 7:58 AM, Jagan Teki wrote: > On 23 June 2016 at 19:28, Lad, Prabhakar wrote: >> During spi transfer, for example: >> sspi 1:1.0 8 ff >> >> the rx_len values will be: >> rx_len = 0 >> rx_len = 4294967295 > > Does these number during 'sspi' or during data transfer? why rx_l

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-20 Thread Jagan Teki
On 23 June 2016 at 19:28, Lad, Prabhakar wrote: > During spi transfer, for example: > sspi 1:1.0 8 ff > > the rx_len values will be: > rx_len = 0 > rx_len = 4294967295 Does these number during 'sspi' or during data transfer? why rx_len is 4294967295? > > This caused a busy looping during xfer,

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-19 Thread Lad, Prabhakar
On Thu, Jun 23, 2016 at 2:58 PM, Lad, Prabhakar wrote: > 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 > Gentle pin

[U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-06-23 Thread Lad, Prabhakar
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 Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc