]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fec_mxc: avoid transfer dev_id -1 to get mac address from fuse
authorAndy Duan <fugang.duan@nxp.com>
Mon, 10 Apr 2017 11:44:34 +0000 (19:44 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
commitf01e4e1e148b11b4021e241e3940c664bcd79b71
tree326de0002b47a5a30067f6226ad2f9888fbd70f6
parent27255fe82163c2459431e1a270338df3bf76e1ec
net: fec_mxc: avoid transfer dev_id -1 to get mac address from fuse

Avoid transfer parameter dev_id value with "-1" to .fec_get_hwaddr(),
it should transfer fec->dev_id to get mac address from fuse.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/net/fec_mxc.c