mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
Merge branch 'pci/host-imx6' into next
* pci/host-imx6: PCI: imx6: Explicitly request exclusive reset control
This commit is contained in:
commit
8a21881ac4
@ -780,14 +780,15 @@ static int imx6_pcie_probe(struct platform_device *pdev)
|
||||
}
|
||||
break;
|
||||
case IMX7D:
|
||||
imx6_pcie->pciephy_reset = devm_reset_control_get(dev,
|
||||
"pciephy");
|
||||
imx6_pcie->pciephy_reset = devm_reset_control_get_exclusive(dev,
|
||||
"pciephy");
|
||||
if (IS_ERR(imx6_pcie->pciephy_reset)) {
|
||||
dev_err(dev, "Failed to get PCIEPHY reset control\n");
|
||||
return PTR_ERR(imx6_pcie->pciephy_reset);
|
||||
}
|
||||
|
||||
imx6_pcie->apps_reset = devm_reset_control_get(dev, "apps");
|
||||
imx6_pcie->apps_reset = devm_reset_control_get_exclusive(dev,
|
||||
"apps");
|
||||
if (IS_ERR(imx6_pcie->apps_reset)) {
|
||||
dev_err(dev, "Failed to get PCIE APPS reset control\n");
|
||||
return PTR_ERR(imx6_pcie->apps_reset);
|
||||
|
Loading…
Reference in New Issue
Block a user