diff options
author | Qipan Li <[email protected]> | 2014-11-17 23:17:03 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-11-18 14:45:02 +0000 |
commit | fcc50e5cd2deb8316d19e446d8efdfc9b35646ef (patch) | |
tree | 578691ec08d21ac98b5e0982c56bee72e65fa002 /tools/perf/scripts/python | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
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 <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions