Re: [PATCH v2 2/5] net: phy: smsc: simplify config_init callback

2020-09-08 Thread Florian Fainelli
On 9/8/2020 4:25 AM, Marco Felsch wrote: Exit the driver specific config_init hook early if energy detection is disabled. We can do this because we don't need to clear the interrupt status here. Clearing the status should be removed anyway since this is handled by the phy_enable_interrupts().

[PATCH v2 2/5] net: phy: smsc: simplify config_init callback

2020-09-08 Thread Marco Felsch
Exit the driver specific config_init hook early if energy detection is disabled. We can do this because we don't need to clear the interrupt status here. Clearing the status should be removed anyway since this is handled by the phy_enable_interrupts(). Signed-off-by: Marco Felsch --- v2: - no cha