Re: [U-Boot] net: fec_mxc: multiple calls to fec_mii_setspeed()

2018-03-15 Thread Troy Kisky
On 3/15/2018 12:49 PM, Joe Hershberger wrote: > On Wed, Mar 14, 2018 at 3:15 AM, Yasushi SHOJI > wrote: >> Hello, >> >> I just noticed that in fec_mxc.c, fec_mii_setspeed() is called twice if >> you are calling fecmxc_initialize_multi(), once from >> fec_get_miibus(),

Re: [U-Boot] net: fec_mxc: multiple calls to fec_mii_setspeed()

2018-03-15 Thread Joe Hershberger
On Wed, Mar 14, 2018 at 3:15 AM, Yasushi SHOJI wrote: > Hello, > > I just noticed that in fec_mxc.c, fec_mii_setspeed() is called twice if > you are calling fecmxc_initialize_multi(), once from > fec_get_miibus(), and the other from fec_probe(). > > Is this intended? If

[U-Boot] net: fec_mxc: multiple calls to fec_mii_setspeed()

2018-03-14 Thread Yasushi SHOJI
Hello, I just noticed that in fec_mxc.c, fec_mii_setspeed() is called twice if you are calling fecmxc_initialize_multi(), once from fec_get_miibus(), and the other from fec_probe(). Is this intended? If so, would you mind to elaborate a bit? Thanks, -- yashi