[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201105000745.2kynhpv5x6ukjvi3@skbuf>
Date: Thu, 5 Nov 2020 02:07:45 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Ioana Ciornei <ciorneiioana@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Florian Fainelli <f.fainelli@...il.com>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Ioana Ciornei <ioana.ciornei@....com>,
Antoine Tenart <atenart@...nel.org>
Subject: Re: [PATCH net-next v2 08/19] net: phy: mscc: remove the use of
.ack_interrupt()
On Sun, Nov 01, 2020 at 02:51:03PM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei <ioana.ciornei@....com>
>
> In preparation of removing the .ack_interrupt() callback, we must replace
> its occurrences (aka phy_clear_interrupt), from the 2 places where it is
> called from (phy_enable_interrupts and phy_disable_interrupts), with
> equivalent functionality.
>
> This means that clearing interrupts now becomes something that the PHY
> driver is responsible of doing, before enabling interrupts and after
> clearing them. Make this driver follow the new contract.
>
> Cc: Antoine Tenart <atenart@...nel.org>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
> ---
Tested-by: Vladimir Oltean <olteanv@...il.com> # VSC8514
Powered by blists - more mailing lists