[PATCH v2 3/4] PCI: imx6: Convert to agnostic GPIO API

Fabio Estevam festevam at gmail.com
Tue Apr 23 13:22:25 PDT 2024


On Tue, Apr 23, 2024 at 5:16 PM Frank Li <Frank.li at nxp.com> wrote:

> if (IS_ERR(imx6_pcie->reset_gpiod)) should be true. then dev_err_probe()
> will run and print "unable to get reset gpio\n" with error code
> -EPROBE_DEFER.

dev_err_probe() will not print an error message when the error code is
-EPROBE_DEFER.

That's exactly the point of using dev_err_probe().



More information about the linux-arm-kernel mailing list