From 32c64261c6f50a4e71ec7546f7e2f48eba91c985 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Mon, 2 Jun 2014 15:38:04 +0200 Subject: [PATCH] spi: rspi: Do not call rspi_receive_init() for TX-only Since commit 8449fd76deb9ac67a15a6fb8ead7bb4595d019d2 ("spi: rspi: Merge rspi_send_pio() and rspi_receive_pio()"), rspi_receive_init() is called for transmit-only transfers too, while this is not needed. Only call rspi_receive_init() when receiving, to preserve behavior on RSPI on SH. Signed-off-by: Geert Uytterhoeven Signed-off-by: Mark Brown --- Reading git-format-patch failed