linux/drivers/net/phy/qcom
Dmitry Torokhov 2bb995e615 net: phy: qcom: qca807x: normalize return value of gpio_get
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.

Fixes: 86ef402d80 ("gpiolib: sanitize the return value of gpio_chip::get()")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/aZZeyr2ysqqk2GqA@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-20 16:09:07 -08:00
..
Kconfig net: phy: qcom: at803x: Add Qualcomm IPQ5018 Internal PHY support 2025-06-23 11:14:05 -07:00
Makefile net: phy: qcom: add support for QCA807x PHY Family 2024-02-10 15:36:19 +00:00
at803x.c net: phy: at803x: Support SFP through phy_port interface 2026-01-13 18:52:35 -08:00
qca83xx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
qca807x.c net: phy: qcom: qca807x: normalize return value of gpio_get 2026-02-20 16:09:07 -08:00
qca808x.c net: phy: qcom: qca808x: Support PHY counter 2025-07-17 18:35:50 -07:00
qcom-phy-lib.c net: phy: qcom: Add PHY counter support 2025-07-17 18:35:50 -07:00
qcom.h net: phy: qcom: Add PHY counter support 2025-07-17 18:35:50 -07:00