Skip to content

Commit 3d6d84c

Browse files
Noltaribroonie
authored andcommitted
spi: bcm63xx-hsspi: 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: 0eeaddd ("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]>
1 parent 5ad20e3 commit 3d6d84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-bcm63xx-hsspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ static int bcm63xx_hsspi_probe(struct platform_device *pdev)
745745
if (IS_ERR(clk))
746746
return PTR_ERR(clk);
747747

748-
reset = devm_reset_control_get_optional_exclusive(dev, NULL);
748+
reset = devm_reset_control_get_optional_shared(dev, NULL);
749749
if (IS_ERR(reset))
750750
return PTR_ERR(reset);
751751

0 commit comments

Comments
 (0)