Skip to content
Commit b7d8d403 authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Anatolij Gustschin
Browse files

video: rockchip: dw_mipi_dsi: Fix external phy existence check



&priv->phy is always true. Compiler warns about this loudly.

Use a propper check for phy device allocation. Without this fix
using this driver with SoC that doesn't use external phy (eg. RK3399)
doesn't work.

Signed-off-by: default avatarOndrej Jirman <megi@xff.cz>
parent e62f2a62
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