[RFC PATCH 5/6] PCI: designware: Add SiFive FU740 PCIe host controller driver

Philipp Zabel p.zabel at pengutronix.de
Thu Mar 4 12:00:17 GMT 2021


On Tue, 2021-03-02 at 18:59 +0800, Greentime Hu wrote:
[...]
> +static int fu740_pcie_probe(struct platform_device *pdev)
> +{
[...]
> +       /* Fetch reset */
> +       afp->rst = devm_reset_control_get(dev, NULL);

Please use
       afp->rst = devm_reset_control_get_exclusive(dev, NULL);	

regards
Philipp



More information about the linux-riscv mailing list