PCI: imx6: Return real error code from imx6_add_pcie_port()
When devm_request_irq() fails, imx6_add_pcie_port() should return the real error code instead of always returning -ENODEV. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NBjorn Helgaas <helgaas@kernel.org> Reviewed-by: NLucas Stach <l.stach@pengutronix.de>
Showing
想要评论请 注册 或 登录