init the IT6613 only once if HDMI is initiated

This commit is contained in:
borti4938 authored and marqs committed 2016-05-24 01:24:14 +03:00
1 parent 2de05ca742
commit 64b661c7e2
1 file changed
+3 -2
+3 -2
View File
@@ -1332,9 +1332,10 @@ int init_hw()
if (!(IORD_ALTERA_AVALON_PIO_DATA(PIO_1_BASE) & PB1_BIT))
setup_rc();
// init always is HDMI mode (fixes yellow screen bug)
// init always in HDMI mode (fixes yellow screen bug)
TX_enable(TX_HDMI);
TX_enable(tc.tx_mode);
if (tc.tx_mode == TX_DVI)
TX_enable(tc.tx_mode);
return 0;
}