]> git.sur5r.net Git - u-boot/commit
net: zynq_gem: Initialize phyreg variable
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 08:33:49 +0000 (10:33 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:18 +0000 (13:54 -0500)
commit7674b64d788e0e7a65f26a1cc81d583a54987282
tree13d7c870fc9965a4bba194284100cfc172e9e272
parentb33d4a5fc7d2c67d11d936351c05856f0696d306
net: zynq_gem: Initialize phyreg variable

In case of phyread()/phy_setup_op() timeout code is working with
uninitialized phyreg variable. Initialize this variable to make sure
that code it not working with random value.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c