diff options
author | Vladimir Oltean <[email protected]> | 2020-03-18 02:15:52 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-18 22:44:53 +0000 |
commit | 4fcc7c2292def2fcb21a9644969583771c52724e (patch) | |
tree | 797eeb3317128150c4051d9ad510038a19955bc9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 85dadb718cc23492ef6edbc9af6c765a0c0aca66 (diff) |
spi: spi-fsl-dspi: Don't access reserved fields in SPI_MCR
The SPI_MCR_PCSIS macro assumes that the controller has a number of chip
select signals equal to 6. That is not always the case, but actually is
described through the driver-specific "spi-num-chipselects" device tree
binding. LS1028A for example only has 4 chip selects.
Don't write to the upper bits of the PCSIS field, which are reserved in
the reference manual.
Fixes: 349ad66c0ab0 ("spi:Add Freescale DSPI driver for Vybrid VF610 platform")
Signed-off-by: Vladimir Oltean <[email protected]>
Tested-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions