rockchip: video: Correct HDMI data source selection
This code currently always selects the second source. It only worked because both sources are set up. With the change to only init video devices that are present in the stdout environment variable, this fails. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ae804cf4af
commit
e4ab3d712a
@ -899,7 +899,8 @@ static int rk_hdmi_probe(struct udevice *dev)
|
||||
rk_setreg(&priv->grf->soc_con6, 1 << 15);
|
||||
|
||||
/* hdmi data from vop id */
|
||||
rk_setreg(&priv->grf->soc_con6, (vop_id == 1) ? (1 << 4) : (1 << 4));
|
||||
rk_clrsetreg(&priv->grf->soc_con6, 1 << 4,
|
||||
(vop_id == 1) ? (1 << 4) : 0);
|
||||
|
||||
ret = hdmi_wait_for_hpd(priv->regs);
|
||||
if (ret < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user