]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: adin: hook genphy_{suspend, resume} into the driver
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 16 Aug 2019 13:10:00 +0000 (16:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Aug 2019 18:56:25 +0000 (11:56 -0700)
commita4d16a150f95238e849df8c629bf1746f9eae872
tree842b02ef832ea5d3c30b2984335ed6af76b0b225
parentbe1834444d6ebdf954305d3ef4eefe814ee69036
net: phy: adin: hook genphy_{suspend, resume} into the driver

The chip supports standard suspend/resume via BMCR reg.
Hook these functions into the `adin` driver.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/adin.c