]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: davinci_mdio: add pm runtime callbacks
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 24 Jun 2016 18:23:50 +0000 (21:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 12:57:19 +0000 (08:57 -0400)
commita8f15970ff0a8d355782ebe62bfd0ff92aeee2ba
tree31d7c2944e3f4b4052f1108a2bf0ab9ed7c1e4fb
parenta6ae14cbd4e942606396540048ba66e39daa4a9f
drivers: net: davinci_mdio: add pm runtime callbacks

Add PM runtime .runtime_suspend()/.runtime_resume() callbacks and
perform Davinci MDIO enabling/disabling from these callbacks. This
allows to reuse pm_runtime_force_suspend/resume() APIs during System
suspend and required for further implementation of PM runtime
autosuspend.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_mdio.c