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

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

Merge "slim: ngd: Avoid warning associated with TASK_INTERRUPTIBLE"

parents 3ff89558 4c4cade3
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1493,8 +1493,7 @@ static int ngd_slim_rx_msgq_thread(void *data)
		int retries = 0;
		u8 wbuf[8];

		set_current_state(TASK_INTERRUPTIBLE);
		wait_for_completion(notify);
		wait_for_completion_interruptible(notify);

		txn.dt = SLIM_MSG_DEST_LOGICALADDR;
		txn.ec = 0;
@@ -1555,8 +1554,7 @@ static int ngd_notify_slaves(void *data)
	}

	while (!kthread_should_stop()) {
		set_current_state(TASK_INTERRUPTIBLE);
		wait_for_completion(&dev->qmi.slave_notify);
		wait_for_completion_interruptible(&dev->qmi.slave_notify);
		/* Probe devices for first notification */
		if (!i) {
			i++;