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)
commit95aa28da81cb6bbd13c70c41460c2d24faf24990
tree237f564ef5c99077de01543a70b8f42b230b6cee
parenta58dec627598ecae1767321a752c0a88c04fdce7
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