Skip to content

Commit 00fb259

Browse files
Ray Juibroonie
authored andcommitted
spi: bcm-qspi: Fix probe regression on iProc platforms
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: 3a01f04 ("spi: bcm-qspi: Handle lack of MSPI_REV offset") Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#u Signed-off-by: Ray Jui <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 530b5af commit 00fb259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-bcm-qspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ static const struct of_device_id bcm_qspi_of_match[] = {
12951295
},
12961296
{
12971297
.compatible = "brcm,spi-bcm-qspi",
1298-
.data = &bcm_qspi_rev_data,
1298+
.data = &bcm_qspi_no_rev_data,
12991299
},
13001300
{
13011301
.compatible = "brcm,spi-bcm7216-qspi",

0 commit comments

Comments
 (0)