summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/battery.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-12-06 13:34:32 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-07 20:57:43 +0100
commitfafc5db28a2ff39092bafe8ac9b8b19c4904f633 (patch)
tree9859fae413a5d9f63f013e471417bcacd5b8ff74 /drivers/acpi/battery.c
parentnet: ethernet: ti: cpsw: fix extra rx interrupt (diff)
downloadlinux-fafc5db28a2ff39092bafe8ac9b8b19c4904f633.tar.xz
linux-fafc5db28a2ff39092bafe8ac9b8b19c4904f633.zip
net: phy: dp83867: fix hfs boot in rgmii mode
The commit ef87f7da6b28 ("net: phy: dp83867: move dt parsing to probe") causes regression on TI dra71x-evm and dra72x-evm, where DP83867 PHY is used in "rgmii-id" mode - the networking stops working. Unfortunately, it's not enough to just move DT parsing code to .probe() as it depends on phydev->interface value, which is set to correct value abter the .probe() is completed and before calling .config_init(). So, RGMII configuration can't be loaded from DT. To fix and issue - move RGMII validation code to .config_init() - parse RGMII parameters in dp83867_of_init(), but consider them as optional. Fixes: ef87f7da6b28 ("net: phy: dp83867: move dt parsing to probe") Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/battery.c')
0 files changed, 0 insertions, 0 deletions