ar71xx: fix kernel Oops in at803x_link_change_notify
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Jul 2015 17:27:29 +0000 (17:27 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Jul 2015 17:27:29 +0000 (17:27 +0000)
commit255d91dce656bff56b37e29874ef25827807a732
tree7393a88996addffd20da3a33bd4d35a076261cac
parenta70a5ada6e543de6d5b87fa251a4829b1e8178c1
ar71xx: fix kernel Oops in at803x_link_change_notify

r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range
extender") introduced a pdata based modification of the tx_clk_dly. But it
was not checked if pdata actually existed. This caused a page fault on all
devices which didn't have at803x_platform_data specified for an at803x
based device.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46200 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch