projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0eeb76
)
spi: bcm-qspi: Fix probe regression on iProc platforms
author
Ray Jui
<ray.jui@broadcom.com>
Thu, 10 Sep 2020 15:25:38 +0000
(08:25 -0700)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Sep 2020 14:50:06 +0000
(15:50 +0100)
iProc chips have QSPI controller that does not have the MSPI_REV
offset. Reading from that offset will cause a bus error. Fix it by
having MSPI_REV query disabled in the generic compatible string.
Fixes: 3a01f04d74ef ("spi: bcm-qspi: Handle lack of MSPI_REV offset")
Link:
https://lore.kernel.org/linux-arm-kernel/20200909211857.4144718-1-f.fainelli@gmail.com/T/#u
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link:
https://lore.kernel.org/r/20200910152539.45584-3-ray.jui@broadcom.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm-qspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-bcm-qspi.c
b/drivers/spi/spi-bcm-qspi.c
index c5209b42b0d2c8ffa594fa00cc9687f2551c3dfd..b78d47a4403c0faa59eaf67d06bc751f9be56495 100644
(file)
--- a/
drivers/spi/spi-bcm-qspi.c
+++ b/
drivers/spi/spi-bcm-qspi.c
@@
-1300,7
+1300,7
@@
static const struct of_device_id bcm_qspi_of_match[] = {
},
{
.compatible = "brcm,spi-bcm-qspi",
- .data = &bcm_qspi_rev_data,
+ .data = &bcm_qspi_
no_
rev_data,
},
{
.compatible = "brcm,spi-bcm7216-qspi",