Skip to content

Commit 5ad20e3

Browse files
Noltaribroonie
authored andcommitted
spi: bcm63xx-spi: fix shared reset
Some bmips SoCs (bcm6362, bcm63268) share the same SPI reset for both SPI and HSSPI controllers, so reset shouldn't be exclusive. Fixes: 38807ad ("spi: bcm63xx-spi: 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]>
1 parent 589561c commit 5ad20e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-bcm63xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ static int bcm63xx_spi_probe(struct platform_device *pdev)
523523
return PTR_ERR(clk);
524524
}
525525

526-
reset = devm_reset_control_get_optional_exclusive(dev, NULL);
526+
reset = devm_reset_control_get_optional_shared(dev, NULL);
527527
if (IS_ERR(reset))
528528
return PTR_ERR(reset);
529529

0 commit comments

Comments
 (0)