]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: rockchip: dw_mipi_dsi: Use generic_phy_valid() helper
authorJonas Karlman <jonas@kwiboo.se>
Thu, 31 Aug 2023 22:16:40 +0000 (22:16 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 13 Sep 2023 19:52:21 +0000 (15:52 -0400)
commit3b4e6e94621ef0d3f356f821a403e03e8fac0828
treea00b6b912c02f3c7e2123a3f54b9b59bd59ee26d
parent8ec228b62b4546376757492bf6fbd9607e97b98e
video: rockchip: dw_mipi_dsi: Use generic_phy_valid() helper

The documentation for struct phy state that "The content of the
structure is managed solely by the PHY API and PHY drivers".

Change to use the generic_phy_valid() helper to check if phy is valid.

Fixes: b7d8d40346f2 ("video: rockchip: dw_mipi_dsi: Fix external phy existence check")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/video/rockchip/dw_mipi_dsi_rockchip.c