Skip to content

Commit e60dfe0

Browse files
pH5broonie
authored andcommitted
spi: tegra20-sflash: 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 <ldewangan@nvidia.com> Cc: Mark Brown <broonie@kernel.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: linux-spi@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d006edb commit e60dfe0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/spi/spi-tegra20-sflash.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static int tegra_sflash_probe(struct platform_device *pdev)
485485
goto exit_free_irq;
486486
}
487487

488-
tsd->rst = devm_reset_control_get(&pdev->dev, "spi");
488+
tsd->rst = devm_reset_control_get_exclusive(&pdev->dev, "spi");
489489
if (IS_ERR(tsd->rst)) {
490490
dev_err(&pdev->dev, "can not get reset\n");
491491
ret = PTR_ERR(tsd->rst);

0 commit comments

Comments
 (0)