commit | 063caa05477577f240bcd45177a95b22bfc4e6b0 | [log] [tgz] |
---|---|---|
author | Jonas Karlman <jonas@kwiboo.se> | Thu Aug 31 22:16:40 2023 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 13 15:52:21 2023 -0400 |
tree | a00b6b912c02f3c7e2123a3f54b9b59bd59ee26d | |
parent | a8715ff2aacfbdf3bd90774c3a4cd1fa6483675d [diff] |
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>