diff --git a/hal_v_disp.c b/hal_v_disp.c index 0bbf370..ee4b5ed 100644 --- a/hal_v_disp.c +++ b/hal_v_disp.c @@ -820,6 +820,7 @@ void update_supported_resolutions(DISPLAY_HANDLE display) } } +/* Vas removed to avoid race condition with Audio CEC HAL; River 2021/11/11 HRESULT standby(void *contextparam) { DISPLAY_HANDLE display = (DISPLAY_HANDLE)contextparam; @@ -968,6 +969,7 @@ HRESULT getosdstr(void *Contextparam, char *str) return 0; } +*/ int isHexChar(const char c) { return ('0' <= c && c <= '9') || ('a' <= c && c <= 'f') || ('A' <= c && c <= 'F'); @@ -1010,7 +1012,7 @@ HRESULT getvendorID(void *Contextparam, int *vendorid) } // add echwang : 2020.04.03 - E - +/* Vas removed to avoid race condition with Audio CEC HAL; River 2021/11/11 HRESULT box_cecsvs_init(DISPLAY_HANDLE display) { HRESULT r = SUCCESS; @@ -1059,6 +1061,7 @@ HRESULT box_cecsvs_init(DISPLAY_HANDLE display) return r; } +*/ void register_event_handler(DISPLAY_HANDLE display) { synaptics_display *syna_display = (synaptics_display *)display; @@ -1271,7 +1274,7 @@ int DISPLAY_Create(DISPLAY_HANDLE *display) { // add echwang : 2020.04.06 + S register_event_handler(*display); - box_cecsvs_init(*display); + //box_cecsvs_init(*display); //Vas removed to avoid race condition with Audio CEC HAL; River 2021/11/11 update_sink_caps(*display); update_supported_resolutions(*display); @@ -1297,7 +1300,7 @@ int DISPLAY_Destroy(DISPLAY_HANDLE display) { unregister_event_handler(display); - BOX_CEC_SVS_Term(); + //BOX_CEC_SVS_Term(); //Vas removed to avoid race condition with Audio CEC HAL; River 2021/11/11 if( syna_display->ampFactory != NULL ) { // AMP_RPC(ret, AMP_FACTORY_DestroyDisplayService, syna_display->ampFactory, &syna_display->amp_disp);