]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85fa51cf4ce6d61cad47b0f7bce81e135385866a
tree6eb6366989403ef9288bb095073b860da7db06e1
parent9b24dbd7a3e54f60bd6b7f2b96d55d273599ab03
drm: kirin: Fix drm_of_find_panel_or_bridge conversion

This fixes a regression introduced by 5d14619f84c0 ("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