spi: sh-hspi: modify write/read method
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Mar 2012 09:48:25 +0000 (02:48 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Mar 2012 09:41:50 +0000 (03:41 -0600)
Current sh-hspi had wrong write/read method which was not linux standard.
If spi_transfer requests tx[2], rx[2] len=2,
then, driver should run tx[0], rx[0], tx[1], rx[1].
But current sh-hspi runs tx[0], tx[1], rx[0], rx[1].
This patch fixes it up.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found