summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/omap4-panda-common.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/omap4-panda-common.dtsi
parent5d2ae3b7ffb25cdc6bd4b36e039da296c992d00d (diff)
downloadbarebox-21297485a95c9127c862dd5efed5f69611442984.tar.gz
barebox-21297485a95c9127c862dd5efed5f69611442984.tar.xz
mtd: spi-nor: cadence: fix csqpi corruption in cqspi_set_protocol
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/omap4-panda-common.dtsi')
0 files changed, 0 insertions, 0 deletions