Commit a53e35db70d1 ("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: Mathias Nyman <[email protected]> Cc: Greg Kroah-Hartman <[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]> --- drivers/usb/host/xhci-tegra.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c index 74436f8ca5382..ba53ee63d450c 100644 --- a/drivers/usb/host/xhci-tegra.c +++ b/drivers/usb/host/xhci-tegra.c @@ -933,14 +933,16 @@ static int tegra_xusb_probe(struct platform_device *pdev) if (IS_ERR(tegra->padctl)) return PTR_ERR(tegra->padctl); - tegra->host_rst = devm_reset_control_get(&pdev->dev, "xusb_host"); + tegra->host_rst = devm_reset_control_get_exclusive(&pdev->dev, + "xusb_host"); if (IS_ERR(tegra->host_rst)) { err = PTR_ERR(tegra->host_rst); dev_err(&pdev->dev, "failed to get xusb_host reset: %d\n", err); goto put_padctl; } - tegra->ss_rst = devm_reset_control_get(&pdev->dev, "xusb_ss"); + tegra->ss_rst = devm_reset_control_get_exclusive(&pdev->dev, + "xusb_ss"); if (IS_ERR(tegra->ss_rst)) { err = PTR_ERR(tegra->ss_rst); dev_err(&pdev->dev, "failed to get xusb_ss reset: %d\n", err); -- 2.11.0

