On Fri, Dec 18, 2020 at 7:34 AM Calvin Johnson
[off-list ref] wrote:
On Tue, Dec 15, 2020 at 07:33:40PM +0200, Andy Shevchenko wrote:
quoted
On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson
[off-list ref] wrote:
...
quoted
quoted
+ /* phy->mii_ts may already be defined by the PHY driver. A
+ * mii_timestamper probed via the device tree will still have
+ * precedence.
+ */
quoted
+ if (mii_ts)
+ phy->mii_ts = mii_ts;
How is that defined? Do you need to do something with an old pointer?
As the comment says, I think PHY drivers which got invoked before calling
of_mdiobus_register_phy() may have defined phy->mii_ts.
What I meant here is that the old pointer might need some care (freeing?).
quoted
quoted
+ }
--
With Best Regards,
Andy Shevchenko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel