Skip to content

Commit d5e9a4a

Browse files
pH5broonie
authored andcommitted
spi: stm32: explicitly request exclusive reset control
Commit a53e35d ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Mark Brown <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Cc: [email protected] Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 5771a8c commit d5e9a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ static int stm32_spi_probe(struct platform_device *pdev)
11321132
goto err_master_put;
11331133
}
11341134

1135-
spi->rst = devm_reset_control_get(&pdev->dev, NULL);
1135+
spi->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
11361136
if (!IS_ERR(spi->rst)) {
11371137
reset_control_assert(spi->rst);
11381138
udelay(2);

0 commit comments

Comments
 (0)