[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160421.145806.264243075732892897.davem@davemloft.net>
Date: Thu, 21 Apr 2016 14:58:06 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: narmstrong@...libre.com
Cc: andrew@...n.ch, thomas.lendacky@....com, mugunthanvnm@...com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
b.hutchman@...il.com
Subject: Re: [PATCH 1/2] net: ethernet: davinci_emac: Fix Unbalanced
pm_runtime_enable
From: Neil Armstrong <narmstrong@...libre.com>
Date: Wed, 20 Apr 2016 10:56:13 +0200
> 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@...il.com>
> Fixes: 3ba97381343b ("net: ethernet: davinci_emac: add pm_runtime support")
> Signed-off-by: Neil Armstrong <narmstrong@...libre.com>
Applied.
Powered by blists - more mailing lists