Skip to content

Commit 2a98786

Browse files
Noltarigregkh
authored andcommitted
spi: bcm63xx-hsspi: fix shared reset
[ Upstream commit 3d6d84c ] 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 <jonas.gorski@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/20250529130915.2519590-3-noltari@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 408ca1d commit 2a98786

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)