diff options
author | Andi Shyti <andi.shyti@samsung.com> | 2016-06-28 04:41:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-29 23:45:23 +0200 |
commit | 11f66f0927bd044c17b2c2884d5103f8eb6cab38 (patch) | |
tree | e6cf926210785464cfff851eb95415a5f1ab7e4c /drivers/cpufreq/s3c64xx-cpufreq.c | |
parent | spi: s3c64xx: consider the case when the CS line is not connected (diff) | |
download | linux-11f66f0927bd044c17b2c2884d5103f8eb6cab38.tar.xz linux-11f66f0927bd044c17b2c2884d5103f8eb6cab38.zip |
spi: s3c64xx: do not configure the device twice
At the start of the transfer, the spi_config function is called
twice, the first time when the 3c64xx_spi_prepare_message is
called and the second time with the s3c64xx_spi_transfer_one,
both called from the spi framework.
Remove the first call at the prepare message because in that
point we don't have the imformation about "bit per word" and
frequency.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/cpufreq/s3c64xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions