drm: kirin: Fix drm_of_find_panel_or_bridge conversion
authorJohn Stultz <john.stultz@linaro.org>
Tue, 23 May 2017 16:40:26 +0000 (09:40 -0700)
committerSean Paul <seanpaul@chromium.org>
Tue, 6 Jun 2017 14:32:03 +0000 (10:32 -0400)
commitb2cc3c8071bee6e3defa54b701671d310cb94f3c
tree6eb6366989403ef9288bb095073b860da7db06e1
parente5b4ab1ffbe2553ee278cb1b6bcb671a31d86518
drm: kirin: Fix drm_of_find_panel_or_bridge conversion

This fixes a regression introduced by ebc944613567 ("drm:
convert drivers to use drm_of_find_panel_or_bridge") that was
recently merged, causing HDMI output to not work.

For the kirin driver, the port value should be 1 instead of 0,
so this oneline patch fixes it and gets graphics working again.

Cc: Rob Herring <robh@kernel.org>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Dave Airlie <airlied@gmail.com>
Cc: Xinliang Liu <xinliang.liu@linaro.org>
Fix-suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1495557626-25285-1-git-send-email-john.stultz@linaro.org
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c