Skip to content
Commit 3b4e6e94 authored by Jonas Karlman's avatar Jonas Karlman Committed by Tom Rini
Browse files

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: b7d8d403 ("video: rockchip: dw_mipi_dsi: Fix external phy existence check")
Signed-off-by: default avatarJonas Karlman <jonas@kwiboo.se>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 8ec228b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment