Merge "diag: Initialize spin lock once per memory device channel"
This commit is contained in:
commit
dc22d4ffc3
1 changed files with 1 additions and 1 deletions
|
@ -356,8 +356,8 @@ int diag_md_init()
|
||||||
ch->tbl[j].buf = NULL;
|
ch->tbl[j].buf = NULL;
|
||||||
ch->tbl[j].len = 0;
|
ch->tbl[j].len = 0;
|
||||||
ch->tbl[j].ctx = 0;
|
ch->tbl[j].ctx = 0;
|
||||||
spin_lock_init(&(ch->lock));
|
|
||||||
}
|
}
|
||||||
|
spin_lock_init(&(ch->lock));
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue