Re: [PATCH v2 1/2] net: phy: export phy_disable_interrupts()

2020-06-23 Thread David Miller
From: Jisheng Zhang Date: Tue, 23 Jun 2020 15:41:04 +0800 > +EXPORT_SYMBOL_GPL(phy_disable_interrupts); phy.o and phy_device.o are always linked together, therefore you don't need a module symbol export. If you plan to use it later in a device, submit the symbol export with the driver change

[PATCH v2 1/2] net: phy: export phy_disable_interrupts()

2020-06-23 Thread Jisheng Zhang
We face an issue with rtl8211f, a pin is shared between INTB and PMEB, and the PHY Register Accessible Interrupt is enabled by default, so the INTB/PMEB pin is always active in polling mode case. As Heiner pointed out "I was thinking about calling phy_disable_interrupts() in phy_init_hw(), to