mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
serial: tegra: explicitly request exclusive reset control
Commit a53e35db70
("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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b382f5d3c3
commit
f67276a0ee
@ -1310,7 +1310,7 @@ static int tegra_uart_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(tup->uart_clk);
|
||||
}
|
||||
|
||||
tup->rst = devm_reset_control_get(&pdev->dev, "serial");
|
||||
tup->rst = devm_reset_control_get_exclusive(&pdev->dev, "serial");
|
||||
if (IS_ERR(tup->rst)) {
|
||||
dev_err(&pdev->dev, "Couldn't get the reset\n");
|
||||
return PTR_ERR(tup->rst);
|
||||
|
Loading…
Reference in New Issue
Block a user