drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix bridge initialization
authorPeter Senna Tschudin <peter.senna@collabora.com>
Thu, 30 Mar 2017 08:19:28 +0000 (10:19 +0200)
committerArchit Taneja <architt@codeaurora.org>
Mon, 3 Apr 2017 04:28:05 +0000 (09:58 +0530)
commita68ee76f4a2880c12fa18359a0e85e6a05c95147
tree072e09d721c0502734678d05d842dbc7fe2fc362
parent50021ff1ad5da500a09ca4866467a12cf66f37cb
drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Fix bridge initialization

Reordering of the device nodes based on unit address resulted in
ge_b850v3_lvds_attach() being called before
ge_b850v3_lvds_ptr->stdp4028_i2c was populated.

This patch moves the drm bridge initialization from
ge_b850v3_lvds_init() to stdp4028_ge_b850v3_fw_probe() ensuring that
ge_b850v3_lvds_ptr->stdp4028_i2c is properly populated.

Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170330081928.8537-1-peter.senna@collabora.com
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c