]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: zynq_gem: Fix reading of max-speed property
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 4 Sep 2018 13:38:53 +0000 (19:08 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Sep 2018 08:15:00 +0000 (10:15 +0200)
commitf213dbbdeca6d2444bfe90d9b422de056bc4d369
tree26bf9d6757b7b5c6be93214ed8032dbc0b567b4a
parent975e78932359230986bb0d2c9a0694285c163621
net: zynq_gem: Fix reading of max-speed property

max-speed property is part of phynode and it has to be
read using ofnode_read_u32_default(). This fixes the issue
of incorrect max-speed read from DT.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c