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

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

Merge "diag: Initialize spin lock once per memory device channel"

parents fd1d20a9 c5b14abc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,8 +356,8 @@ int diag_md_init()
			ch->tbl[j].buf = NULL;
			ch->tbl[j].len = 0;
			ch->tbl[j].ctx = 0;
			spin_lock_init(&(ch->lock));
		}
		spin_lock_init(&(ch->lock));
	}

	return 0;