From: Uwe Kleine-König Date: Wed, 12 Feb 2014 22:33:22 +0000 (+0100) Subject: net: cpsw: catch of_get_phy_mode failing and propagate error X-Git-Tag: v3.14-rc4~30^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89e101729be4cacd5847fef7e7c99680772c6e3c;p=pandora-kernel.git net: cpsw: catch of_get_phy_mode failing and propagate error It's wrong if the device tree doesn't provide a phy-mode property for the cpsw slaves as it is documented to be required in Documentation/devicetree/bindings/net/cpsw.txt. Anyhow it's nice to catch that problem, still more as it used to work without this property up to commit 388367a5a9fb (drivers: net: cpsw: use cpsw-phy-sel driver to configure phy mode) which is in v3.13-rc1. Signed-off-by: Uwe Kleine-König Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- Reading git-diff-tree failed