> + data = device_get_match_data(&pdev->dev);
> + if (data && data->has_internal_rx_delay)
> + plat_dat->phy_interface = phy_fix_phy_mode_for_mac_delays(plat_dat->phy_interface,
> + false, true);
You should check the return value and if it is _NA, return -EIVAL.
Andrew
---
pw-bot: cr