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

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

Merge "diag: Properly update memory device clients"

parents c9192ee7 7c132f3a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -463,11 +463,12 @@ void diag_update_md_clients(unsigned int type)
			for (j = 0; j < driver->num_clients; j++) {
				if (driver->client_map[j].pid != 0 &&
					driver->client_map[j].pid ==
					driver->md_session_map[i]->pid)
					driver->md_session_map[i]->pid) {
					driver->data_ready[j] |= type;
					break;
				}
			}
	}
	wake_up_interruptible(&driver->wait_q);
	mutex_unlock(&driver->diagchar_mutex);
}