diff options
| author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2019-03-27 14:30:51 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-04-01 15:48:37 +0700 |
| commit | 17ecffa289489e8442306bbc62ebb964e235cdad (patch) | |
| tree | 7055498c2c5f792b1134ea496d14ab4c2e0790e2 /tools/perf/scripts/python/bin | |
| parent | spi: spi-fsl-spi: remove always-true conditional in fsl_spi_do_one_msg (diff) | |
| download | linux-17ecffa289489e8442306bbc62ebb964e235cdad.tar.gz linux-17ecffa289489e8442306bbc62ebb964e235cdad.zip | |
spi: spi-fsl-spi: relax message sanity checking a little
The comment says that we should not allow changes (to
bits_per_word/speed_hz) while CS is active, and indeed the code below
does fsl_spi_setup_transfer() when the ->cs_change of the previous
spi_transfer was set (and for the very first transfer).
So the sanity checking is a bit too strict - we can change it to
follow the same logic as is used by the actual transfer loop.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
