Skip to content

Commit

Permalink
Merge "Hdmi-cec:fix for cpu hogging by event-monitor thread."
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Jan 25, 2019
2 parents 6ec06be + 1556c4b commit d6de594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdmi_cec/qhdmi_cec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ static int populate_event_data(cec_context_t* ctx, std::vector<eventData> *event
}

static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data) {
pollfd poll_fd;
pollfd poll_fd = {0};
poll_fd.fd = -EINVAL;

if (!strncmp(event_data->event_name, "cec_msg_event", strlen("cec_msg_event"))) {
Expand Down

0 comments on commit d6de594

Please sign in to comment.