|
|
@@ -0,0 +1,32 @@
|
|
|
+From 3d6d84c8f2f66d3fd6a43a1e2ce8e6b54c573960 Mon Sep 17 00:00:00 2001
|
|
|
+From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <[email protected]>
|
|
|
+Date: Thu, 29 May 2025 15:09:15 +0200
|
|
|
+Subject: [PATCH] spi: bcm63xx-hsspi: fix shared reset
|
|
|
+MIME-Version: 1.0
|
|
|
+Content-Type: text/plain; charset=UTF-8
|
|
|
+Content-Transfer-Encoding: 8bit
|
|
|
+
|
|
|
+Some bmips SoCs (bcm6362, bcm63268) share the same SPI reset for both SPI
|
|
|
+and HSSPI controllers, so reset shouldn't be exclusive.
|
|
|
+
|
|
|
+Fixes: 0eeadddbf09a ("spi: bcm63xx-hsspi: add reset support")
|
|
|
+Reported-by: Jonas Gorski <[email protected]>
|
|
|
+Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
+Reviewed-by: Florian Fainelli <[email protected]>
|
|
|
+Link: https://patch.msgid.link/[email protected]
|
|
|
+Signed-off-by: Mark Brown <[email protected]>
|
|
|
+---
|
|
|
+ drivers/spi/spi-bcm63xx-hsspi.c | 2 +-
|
|
|
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
+
|
|
|
+--- a/drivers/spi/spi-bcm63xx-hsspi.c
|
|
|
++++ b/drivers/spi/spi-bcm63xx-hsspi.c
|
|
|
+@@ -745,7 +745,7 @@ static int bcm63xx_hsspi_probe(struct pl
|
|
|
+ if (IS_ERR(clk))
|
|
|
+ return PTR_ERR(clk);
|
|
|
+
|
|
|
+- reset = devm_reset_control_get_optional_exclusive(dev, NULL);
|
|
|
++ reset = devm_reset_control_get_optional_shared(dev, NULL);
|
|
|
+ if (IS_ERR(reset))
|
|
|
+ return PTR_ERR(reset);
|
|
|
+
|