Re: [U-Boot] [PATCH] spi: oc_tiny_spi: Refactor to simplify spi_xfer implementation

2014-03-03 Thread Jagan Teki
Hi Axel, Any testing on this patch? On Fri, Jan 10, 2014 at 1:38 PM, Axel Lin wrote: > Currently we have similar code for (txp && rxp), (txp && !rxp), (!rxp & txp), > and (!txp && !rxp) cases. This patch refactors the code a bit to avoid > duplicate similar code. > > Signed-off-by: Axel Lin > -

[U-Boot] [PATCH] spi: oc_tiny_spi: Refactor to simplify spi_xfer implementation

2014-01-10 Thread Axel Lin
Currently we have similar code for (txp && rxp), (txp && !rxp), (!rxp & txp), and (!txp && !rxp) cases. This patch refactors the code a bit to avoid duplicate similar code. Signed-off-by: Axel Lin --- Hi Thomas, This path is similar to the patch I sent for spi-oc-tiny.c linux driver. I'd apprecia