spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 9 Dec 2011 04:13:28 +0000 (13:13 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:44 +0000 (22:56 +0100)
commit8ec5bd153809968f7e10fe58079fa2a1ed476d57
tree38f7a4d02b64339446b3b44a9949683c2094fb94
parent958bb6de7a6ba061024629488418dc23d160fde9
spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control

commit f258b44e22e07f5e98ac2260c70acff5784791b6 upstream.

This patch supports a spi mode setup and bit order setup by IO control.
    spi mode:     mode 0 to mode 3
    bit order:    LSB first, MSB first

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/spi/spi-topcliff-pch.c