commit | bb9c5687e8cd02d6f8a3aea40c118b439cb09501 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Wed Mar 14 02:48:25 2012 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Thu Mar 15 03:41:50 2012 -0600 |
tree | c523e187256ddde75cbd55dd5d7a79847c60ca5a | |
parent | 49e599b8595f9d33276860c6a02e05f240c4ceca [diff] |
spi: sh-hspi: modify write/read method 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>