rockchip: video: Correct HDMI data source selection
authorSimon Glass <sjg@chromium.org>
Sun, 13 Nov 2016 21:21:55 +0000 (14:21 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:59:30 +0000 (17:59 -0700)
commite4ab3d712a52e69d154ed9a1fb15e56e9f9c94d3
tree80f73ef1bb343b668aa07524db4fcd156081856f
parentae804cf4af6dbe544e6412207d38850e4647ca1e
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>
drivers/video/rockchip/rk_hdmi.c