mirror-linux/drivers/phy/ti
Dan Carpenter 9d3daf9ca3 phy: ti: gmii-sel: Add a sanity check on the phy_id
The "phy_id" comes from the device tree so it's going to be correct.
But static checkers sometimes complain when we have an upper bounds
check with no lower bounds check.  Also it's a bit unusual that the
lowest valid number is 1 instead of 0 so adding a check could
potentially help someone.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/aPJpB-QI8FMpFGOk@stanley.mountain
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-11-20 22:24:35 +05:30
..
Kconfig phy: ti: omap-usb2: enable compile testing 2025-08-13 12:19:24 +05:30
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: remove unneeded 'fast_io' parameter in regmap_config 2025-08-20 21:45:43 +05:30
phy-da8xx-usb.c phy: Switch back to struct platform_driver::remove() 2024-10-17 20:33:03 +05:30
phy-dm816x-usb.c phy: ti: dm816x-usb: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: Add a sanity check on the phy_id 2025-11-20 22:24:35 +05:30
phy-j721e-wiz.c phy: remove unneeded 'fast_io' parameter in regmap_config 2025-08-20 21:45:43 +05:30
phy-omap-control.c phy: ti: omap-control: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-omap-usb2.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-ti-pipe3.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30