From: Chen-Yu Tsai Date: Thu, 29 May 2014 14:31:40 +0000 (+0800) Subject: net: stmmac: Handle different error codes from platform_get_irq_byname X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ec858413612ebb53c539541d6a0c7927db0bcd;p=pandora-kernel.git net: stmmac: Handle different error codes from platform_get_irq_byname The following patch moved device tree interrupt resolution into platform_get_irq_byname: ad69674 of/irq: do irq resolution in platform_get_irq_byname() As a result, the function no longer only return -ENXIO on error. This breaks DT based probing of stmmac, as seen in test runs of linux-next next-20140526 cubie2-sunxi_defconfig: http://lists.linaro.org/pipermail/kernel-build-reports/2014-May/003659.html This patch makes the stmmac_platform probe function properly handle error codes, such as returning for deferred probing, and other codes returned by of_irq_get_by_name. Signed-off-by: Chen-Yu Tsai Signed-off-by: David S. Miller --- Reading git-diff-tree failed