On Tue, Apr 23, 2024 at 5:16 PM Frank Li <Frank.li@xxxxxxx> 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().