__s32 disp_hdmi_exit(void) { if(gdisp.screen[0].hdmi_used || gdisp.screen[1].hdmi_used) { hdmi_clk_exit(); } return DIS_SUCCESS; }
static s32 disp_hdmi_exit(struct disp_device* hdmi) { struct disp_device_private_data *hdmip = disp_hdmi_get_priv(hdmi); if(!hdmi || !hdmip) { DE_WRN("hdmi init null hdl!\n"); return DIS_FAIL; } hdmi_clk_exit(hdmi); return 0; }
s32 disp_hdmi_exit(struct disp_hdmi* hdmi) { struct disp_hdmi_private_data *hdmip = disp_hdmi_get_priv(hdmi); if(!hdmi || !hdmip) { DE_WRN("hdmi init null hdl!\n"); return DIS_FAIL; } if(!disp_al_query_hdmi_mod(hdmi->channel_id)) { DE_WRN("hdmi %d is not register\n", hdmi->channel_id); return DIS_FAIL; } disp_al_hdmi_exit(hdmi->channel_id); hdmi_clk_exit(hdmi); return 0; }
__s32 Display_Hdmi_Exit(void) { hdmi_clk_exit(); return DIS_SUCCESS; }