]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: renesas: rcar-gen3-usb2: Move phy_data->init_bus check
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Wed, 19 Nov 2025 12:04:17 +0000 (14:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 20 Nov 2025 16:44:42 +0000 (22:14 +0530)
commit79d9db7f7a0c94b2b505666513879ac470c7e12f
tree0847651e23c31db28e08bf93394770dae1565cf0
parent662bb179d3381c7c069e44bb177396bcaee31cc8
phy: renesas: rcar-gen3-usb2: Move phy_data->init_bus check

Move the check of phy_data->init_bus from rcar_gen3_phy_usb2_init_bus()
to rcar_gen3_phy_usb2_probe() to avoid having it duplicated in both the
probe path and the upcoming resume code. This is a preparatory patch.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251119120418.686224-2-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/phy-rcar-gen3-usb2.c