ramips: move rt2880 spi clock and reset init code to spi_prepare_message
authorJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:57 +0000 (11:48 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:57 +0000 (11:48 +0000)
commit72baed0b249a51bc7e04aa9aed3d82ce06ec24c0
tree1bf695976ed652d516cccc07760e32d8897d74f4
parent9f2ff74e2d00a9159fc0cca7dd209386071bb7d8
ramips: move rt2880 spi clock and reset init code to spi_prepare_message

before spi transfer. use spi_prepare_message to setup spi hardware. it
will setup MSB, spi mode and speed
remove sys_freq member and speed check code

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47578
target/linux/ramips/patches-3.18/0050-SPI-ralink-add-Ralink-SoC-spi-driver.patch