diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2016-04-20 11:56:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-21 21:57:47 +0300 |
commit | 99164f9e62a391b5f4b7923b624d182b5d2859e0 (patch) | |
tree | 6ccb5b05fdb6d703c13513d278861e0ddfa47166 /mm/huge_memory.c | |
parent | 3ad977992fccce7acf9af2afbd2a555cf1725404 (diff) | |
download | linux-99164f9e62a391b5f4b7923b624d182b5d2859e0.tar.xz |
net: ethernet: davinci_emac: Fix Unbalanced pm_runtime_enable
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>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions