dc_link_detect_sink
if (!dc_link_detect_sink(aconnector->dc_link, &new_connection_type))
if (!dc_link_detect_sink(dc_link, &new_connection_type))
if (!dc_link_detect_sink(link, &new_connection_type))
if (!dc_link_detect_sink(aconnector->dc_link, &new_connection_type))
if (false == dc_link_detect_sink(link, &new_connection_type)) {
bool dc_link_detect_sink(struct dc_link *link, enum dc_connection_type *type);