Skip to content

Commit 73b3275

Browse files
pH5broonie
authored andcommitted
spi: tegra20-slink: 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: Laxman Dewangan <[email protected]> Cc: Mark Brown <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Jonathan Hunter <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 5771a8c commit 73b3275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-tegra20-slink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ static int tegra_slink_probe(struct platform_device *pdev)
10811081
goto exit_free_irq;
10821082
}
10831083

1084-
tspi->rst = devm_reset_control_get(&pdev->dev, "spi");
1084+
tspi->rst = devm_reset_control_get_exclusive(&pdev->dev, "spi");
10851085
if (IS_ERR(tspi->rst)) {
10861086
dev_err(&pdev->dev, "can not get reset\n");
10871087
ret = PTR_ERR(tspi->rst);

0 commit comments

Comments
 (0)