[PATCH net-next 2/6] net: phy: add phy_may_wakeup()
Florian Fainelli
florian.fainelli at broadcom.com
Wed Oct 22 11:31:24 PDT 2025
On 10/22/25 11:20, Russell King (Oracle) wrote:
> On Wed, Oct 22, 2025 at 03:43:20PM +0200, Maxime Chevallier wrote:
>> Hi Russell,
>>
>> That's not exactly what's happening, this suggest this is merely a
>> wrapper around device_may_wakeup().
>>
>> I don't think it's worth blocking the series though, but if you need to
>> respin maybe this could be reworded.
>>
>> Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
>
> I've updated the description as I think patch 4 needs a repost:
>
> +/**
> + * phy_may_wakeup() - indicate whether PHY has wakeup enabled
> + * @phydev: The phy_device struct
> + *
> + * Returns: true/false depending on the PHY driver's device_set_wakeup_enabled()
> + * setting if using the driver model, otherwise the legacy determination.
> + */
> +bool phy_may_wakeup(struct phy_device *phydev);
> +
>
> Do you want me to still add your r-b?
Yes, I saw that comment, should have mentioned this applied to your
revision. Thanks!
--
Florian
More information about the linux-arm-kernel
mailing list