Heiko Schocher
a57ef36323
net: fec_mxc: fix probing for imx8qxp
...
probing on capricorn board (imx8qxp based) brings:
Can't find FEC0 clk rate: -19
Cause is that when probing fec_mxc driver, fec_mii_setspeed()
is called which calls fec_get_clk_rate().
fec_mii_setspeed() calls fec_get_clk_rate with NULL pointer
for udev and so as in IMX8QXP case CLK_CCF is enabled
udev gets searched with:
uclass_get_device_by_seq(UCLASS_ETH, idx, &dev);
but we do not have yet a UCLASS_ETH ! as we just probing it!
Prevent this by passing udev to fec_get_clk_rate()
Signed-off-by: Heiko Schocher <hs@denx.de>
2024-11-25 23:07:37 -03:00
..
2024-10-26 10:46:48 +08:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-11-16 20:54:16 -06:00
2024-10-24 11:20:58 -06:00
2024-11-15 14:32:47 +01:00
2024-10-11 11:44:48 -06:00
2024-11-16 19:49:05 -06:00
2024-11-06 18:56:51 +08:00
2024-11-03 12:25:57 +01:00
2024-11-24 15:41:28 -06:00
2024-10-27 18:44:13 -06:00
2024-10-21 17:52:52 -06:00
2024-10-25 09:07:16 -03:00
2024-05-20 13:35:03 -06:00
2024-11-20 17:57:58 +01:00
2024-10-17 18:21:19 -06:00
2024-05-20 13:35:03 -06:00
2024-10-16 11:11:56 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-24 13:42:07 -06:00
2024-11-20 17:57:57 +01:00
2024-05-20 13:35:03 -06:00
2024-10-25 09:07:39 -03:00
2024-10-11 11:44:48 -06:00
2024-11-24 15:41:32 -06:00
2024-10-23 06:52:38 +02:00
2024-10-11 11:44:48 -06:00
2024-10-29 18:45:22 -06:00
2024-11-25 23:07:37 -03:00
2024-11-20 17:57:57 +01:00
2024-10-31 13:34:29 -06:00
2024-10-11 12:23:25 -06:00
2024-11-25 23:07:37 -03:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-11-20 17:57:58 +01:00
2024-11-11 15:14:14 +08:00
2024-10-25 09:07:35 -03:00
2024-09-11 17:02:36 -03:00
2024-10-11 12:23:25 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 12:23:25 -06:00
2024-11-01 13:34:32 -06:00
2024-10-27 18:44:13 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-06 10:47:46 +02:00
2024-07-22 10:53:06 -06:00
2024-11-25 15:29:45 -06:00
2024-07-05 12:07:37 +02:00
2024-11-17 13:12:54 -06:00
2024-10-11 11:44:48 -06:00
2024-04-26 08:28:35 +03:00
2024-07-22 10:53:06 -06:00
2024-10-18 14:10:21 -06:00
2024-10-11 11:44:48 -06:00
2024-10-14 08:56:03 +02:00
2024-11-25 19:11:19 +01:00
2024-11-04 16:41:38 -06:00
2024-10-18 14:10:21 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-11-25 23:07:37 -03:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00