summaryrefslogtreecommitdiff
path: root/include/linux/msg.h
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2016-04-20 10:56:13 +0200
committerBen Hutchings <ben@decadent.org.uk>2016-06-15 21:29:25 +0100
commitedc15924341e34bdd81b18299e625a31a4047d58 (patch)
treed8f1f610d87b98e567fdc02cc909c3173328a232 /include/linux/msg.h
parent0fbf8e134424c79ef448ba3c06d9b7df4fcf2340 (diff)
net: ethernet: davinci_emac: Fix Unbalanced pm_runtime_enable
commit 99164f9e62a391b5f4b7923b624d182b5d2859e0 upstream. In order to avoid an Unbalanced pm_runtime_enable in the DaVinci emac driver when the device is removed and re-probed, and a pm_runtime_disable() call in davinci_emac_remove(). Actually, using unbind/bind on a TI DM8168 SoC gives : $ echo 4a120000.ethernet > /sys/bus/platform/drivers/davinci_emac/unbind net eth1: DaVinci EMAC: davinci_emac_remove() $ echo 4a120000.ethernet > /sys/bus/platform/drivers/davinci_emac/bind davinci_emac 4a120000.ethernet: Unbalanced pm_runtime_enable Cc: Brian Hutchinson <b.hutchman@gmail.com> Fixes: 3ba97381343b ("net: ethernet: davinci_emac: add pm_runtime support") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/msg.h')
0 files changed, 0 insertions, 0 deletions