From: Qipan Li Date: Mon, 17 Nov 2014 15:17:03 +0000 (+0800) Subject: spi: sirf: assign spi_master's max_speed_hz member X-Git-Tag: omap-for-v3.19/fixes-rc1~131^2~1^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc50e5cd2deb8316d19e446d8efdfc9b35646ef;p=pandora-kernel.git spi: sirf: assign spi_master's max_speed_hz member if spi device has no frequency, spi core will setup the default frequency to max_speed_hz of spi_master according to int spi_setup(struct spi_device *spi) { ... if (!spi->max_speed_hz) spi->max_speed_hz = spi->master->max_speed_hz; ... } this patch moves CSR SiRFSoC SPI frequency set to follow SPI core behaviour. Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Mark Brown --- Reading git-diff-tree failed