Skip to content

Commit

Permalink
spi: sun6i: explicitly request exclusive reset control
Browse files Browse the repository at this point in the history
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 Ripard <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: [email protected]
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
pH5 authored and broonie committed Jul 19, 2017
1 parent 5771a8c commit 36bc749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-sun6i.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ static int sun6i_spi_probe(struct platform_device *pdev)

init_completion(&sspi->done);

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

0 comments on commit 36bc749

Please sign in to comment.