Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8fcf37c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: msm_glink_pkt: Fix the lock ownership"

parents 2bec2c1c b8159eff
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -738,10 +738,8 @@ static unsigned int glink_pkt_poll(struct file *file, poll_table *wait)
		GLINK_PKT_ERR("%s: Invalid device handle\n", __func__);
		return POLLERR;
	}
	if (devp->in_reset) {
		mutex_unlock(&devp->ch_lock);
	if (devp->in_reset)
		return POLLHUP;
	}

	devp->poll_mode = 1;
	poll_wait(file, &devp->ch_read_wait_queue, wait);