hdac_hdmi_get_port_len
if (hdac_hdmi_get_port_len(hdev, pin->nid) == 0)
num_ports = hdac_hdmi_get_port_len(hdev, port->pin->nid);