mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 04:45:05 +00:00
MIPS: pci-mt7620: 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.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16785/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
897c0e77b6
commit
0c4037b9dd
@ -291,7 +291,7 @@ static int mt7620_pci_probe(struct platform_device *pdev)
|
||||
IORESOURCE_MEM, 1);
|
||||
u32 val = 0;
|
||||
|
||||
rstpcie0 = devm_reset_control_get(&pdev->dev, "pcie0");
|
||||
rstpcie0 = devm_reset_control_get_exclusive(&pdev->dev, "pcie0");
|
||||
if (IS_ERR(rstpcie0))
|
||||
return PTR_ERR(rstpcie0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user