summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/rk3188.dtsi
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2020-09-16 17:23:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-18 11:46:31 +0200
commit21297485a95c9127c862dd5efed5f69611442984 (patch)
tree79412ed28f6ce4cc4cb279a94b3c67c4d86203a6 /dts/src/arm/rk3188.dtsi
parent5d2ae3b7ffb25cdc6bd4b36e039da296c992d00d (diff)
downloadbarebox-master.tar.gz
mtd: spi-nor: cadence: fix csqpi corruption in cqspi_set_protocolHEADmaster
cqspi_set_protocol() sets `inst_width`, `addr_width` and `data_width` for the previous chip-select in `cqspi->current_cs`, but that is initially set to -1, leading to corruption of other `cqspi->` members. Change it to set `inst_width`, `addr_width` and `data_width` for the chip-select associated with the `nor` parameter. Fixes: 5085d2ef3fbf ("mtd: spi-nor: cadence: add cqspi_set_protocol") Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/src/arm/rk3188.dtsi')
0 files changed, 0 insertions, 0 deletions