[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110930.185421.252729993071152404.davem@davemloft.net>
Date: Fri, 30 Sep 2011 18:54:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: david.daney@...ium.com
Cc: netdev@...r.kernel.org, linux-mips@...ux-mips.org
Subject: Re: [PATCH] netdev/phy: Use mdiobus_read() so that proper locks
are taken.
From: David Daney <david.daney@...ium.com>
Date: Fri, 30 Sep 2011 14:51:22 -0700
> Accesses to the mdio busses must be done with the mdio_lock to ensure
> proper operation. Conveniently we have the helper function
> mdiobus_read() to do that for us. Lets use it in get_phy_id() instead
> of accessing the bus without the lock held.
>
> Signed-off-by: David Daney <david.daney@...ium.com>
Applied to net-next.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists