mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge branch 'ib-snps-reset-gpio' into devel
This commit is contained in:
commit
74a36e4a03
1 changed files with 6 additions and 0 deletions
|
|
@ -158,6 +158,12 @@ static void of_gpio_flags_quirks(struct device_node *np,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Legacy handling of stmmac's active-low PHY reset line */
|
||||
if (IS_ENABLED(CONFIG_STMMAC_ETH) &&
|
||||
!strcmp(propname, "snps,reset-gpio") &&
|
||||
of_property_read_bool(np, "snps,reset-active-low"))
|
||||
*flags |= OF_GPIO_ACTIVE_LOW;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue