port_has_data
if (!out_count || !port_has_data(port))
return !port_has_data(port) && port->host_connected;
if (!port_has_data(port)) {
if (!port_has_data(port) && !port->host_connected)