Skip to content

Commit 36bc749

Browse files
pH5broonie
authored andcommitted
spi: sun6i: 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 <broonie@kernel.org> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Cc: linux-spi@vger.kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5771a8c commit 36bc749

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/spi/spi-sun6i.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static int sun6i_spi_probe(struct platform_device *pdev)
502502

503503
init_completion(&sspi->done);
504504

505-
sspi->rstc = devm_reset_control_get(&pdev->dev, NULL);
505+
sspi->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
506506
if (IS_ERR(sspi->rstc)) {
507507
dev_err(&pdev->dev, "Couldn't get reset controller\n");
508508
ret = PTR_ERR(sspi->rstc);

0 commit comments

Comments
 (0)