]> git.sur5r.net Git - u-boot/commit
net: mvneta: Fix fault when wrong device tree
authorMarek BehĂșn <marek.behun@nic.cz>
Tue, 24 Apr 2018 15:21:29 +0000 (17:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:00:15 +0000 (10:00 +0200)
commitcf2cf8510a10d954ea46b4a49a7bf9d95cccf4bd
treee21861997232b26764a0fa30ac15ea887fb466e6
parent2d7a0f4399f924422e959613b4c2634dcd0ad87e
net: mvneta: Fix fault when wrong device tree

The driver does not check id phy_connect failed (for example on wrong
property name in device tree). In such a case a fault occurs and the
CPU is restarted.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/net/mvneta.c