From e826a7ff69b285ea295144303653c01f781ea9dc Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 8 Jan 2014 16:00:04 +0800 Subject: [PATCH] spi: oc-tiny: Simplify tiny_spi_txrx_bufs implementation when irq is not used 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 Signed-off-by: Mark Brown --- Reading git-format-patch failed