From 6c8d8d6c150202d00340a0b31a69c5b014179fd7 Mon Sep 17 00:00:00 2001 From: Dongjin Kim Date: Fri, 21 Nov 2014 16:01:11 +0900 Subject: [PATCH] Revert "ODROIDC:hdmi: Try to read proper mode before video stream out" This reverts commit 34e3ccb261b48dc64a4b79770980807baae125d3. Change-Id: I6dd61f28ff003ae4c35c4b79bec29a75c6562bca Signed-off-by: Dongjin Kim --- drivers/amlogic/hdmi/hdmi_tx/hdmi_tx.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx.c b/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx.c index 116c98941faf..510fda19206f 100755 --- a/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx.c +++ b/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx.c @@ -205,9 +205,6 @@ return value: 1, vout; 2, vout2; const vinfo_t * hdmi_get_current_vinfo(void) { const vinfo_t *info; - int count = 5; - -retry: #ifdef CONFIG_AM_TV_OUTPUT2 if(get_cur_vout_index() == 2){ info = get_current_vinfo2(); @@ -221,12 +218,6 @@ retry: #else info = get_current_vinfo(); #endif - - if ((info == NULL) && (--count > 0)) { - msleep(500); - goto retry; - } - return info; }