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

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

Merge "msm: rpm-smd: add missing kvp in sleep set"

parents 95701192 d130546e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -284,8 +284,10 @@ static void tr_update(struct slp_buf *s, char *buf)
	struct kvp *e, *n;

	for_each_kvp(buf, n) {
		bool found = false;
		for_each_kvp(s->buf, e) {
			if (n->k == e->k) {
				found = true;
				if (n->s == e->s) {
					void *e_data = get_data(e);
					void *n_data = get_data(n);
@@ -300,6 +302,11 @@ static void tr_update(struct slp_buf *s, char *buf)
				}
				break;
			}

		}
		if (!found) {
			add_kvp(s->buf, n);
			s->valid = true;
		}
	}
}