]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit651652aace74207a41802a911963a8a4ced37da2
tree31d7c2944e3f4b4052f1108a2bf0ab9ed7c1e4fb
parent28f0ccb9958f54d9f4e7ebcf09b400304d8ba7cb
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