Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions drivers/ethernet/phy/phy_ti_dp83867.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,10 @@ static int phy_ti_dp83867_reset(const struct device *dev)
if (ret < 0) {
LOG_ERR("Error writing phy (%d) basic control register", config->addr);
}

#if DT_ANY_INST_HAS_PROP_STATUS_OKAY(reset_gpios)
done:
#endif /* DT_ANY_INST_HAS_PROP_STATUS_OKAY(reset_gpios) */

/* POR release time (minimum specified is T4=195us) */
k_busy_wait(PHY_TI_DP83867_POR_DELAY);

Expand All @@ -313,7 +315,7 @@ static int phy_ti_dp83867_cfg_link(const struct device *dev, enum phy_link_speed
const struct ti_dp83867_config *config = dev->config;
struct ti_dp83867_data *data = dev->data;
int ret;
uint32_t val;
__maybe_unused uint32_t val;

if (flags & PHY_FLAG_AUTO_NEGOTIATION_DISABLED) {
LOG_ERR("Disabling auto-negotiation is not supported by this driver");
Expand Down