summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-06-02 17:38:04 +0400
committerMark Brown <broonie@linaro.org>2014-06-02 18:49:32 +0400
commit32c64261c6f50a4e71ec7546f7e2f48eba91c985 (patch)
treef18b47b743b7f867d581743278beee578e4ba044 /include/linux/spi
parent5f684c34fc82be84ece158aa5c5c7c5072daa9a0 (diff)
downloadlinux-32c64261c6f50a4e71ec7546f7e2f48eba91c985.tar.xz
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 <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions