From 64b661c7e2989028213023628cb15573acb009d2 Mon Sep 17 00:00:00 2001 From: borti4938 Date: Sat, 16 Apr 2016 21:29:32 +0200 Subject: [PATCH] init the IT6613 only once if HDMI is initiated --- software/sys_controller/av_controller.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/software/sys_controller/av_controller.c b/software/sys_controller/av_controller.c index 4f4995c..8493863 100644 --- a/software/sys_controller/av_controller.c +++ b/software/sys_controller/av_controller.c @@ -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; }