Re: [PATCH] net: phy: qcom: qca807x: normalize return value of gpio_get

From: Dmitry Torokhov

Date: Wed Feb 18 2026 - 18:02:10 EST


On February 18, 2026 2:55:32 PM PST, Andrew Lunn <andrew@xxxxxxx> wrote:
>On Wed, Feb 18, 2026 at 12:57:17PM -0800, Dmitry Torokhov wrote:
>> The GPIO get callback is expected to return 0 or 1 (or a negative error
>> code). Ensure that the value returned by qca807x_gpio_get() is
>> normalized to the [0, 1] range.
>>
>> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>
>This appears to be a fix. Please add a Fixes: tag.
>
>Also, please put net into the Subject.
>
>https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

Will do, however I am not sure what should be tagged as "Fixes" - original driver commit or the change in gpiolib tightening the checks?

Thanks!

--
Dmitry