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

Commit 720e764d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: spcom: fix poll() for channel connected"

parents 15e64a49 a9f299be
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1622,7 +1622,8 @@ static unsigned int spcom_device_poll(struct file *filp,
			pr_debug("ch [%s] poll CH_CONNECT signaled\n", name);
		}
		mutex_lock(&ch->lock);
		done = completion_done(&ch->connect);
		done = (ch->rpdev != NULL);
		pr_debug("ch [%s] reported done=%d\n", name, done);
		mutex_unlock(&ch->lock);
		break;
	default: