]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 May 2012 17:46:24 +0000 (10:46 -0700)
commit06dd28fc316fa8a8627c0271d24e1d68b51ca6a3
treec0a16717db8dc077f00c7945d7dbe2e5ac544572
parent000d91aa2297c6d9da219918afa42c729db376dd
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-topcliff-pch.c