Skip to content
Snippets Groups Projects
Commit 2216c036 authored by Federico Vaga's avatar Federico Vaga
Browse files

kernel: add missing spinlock initialization


Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
parent 321cee38
No related merge requests found
...@@ -398,6 +398,7 @@ static int spec_irq_init(struct fmc_device *fmc) ...@@ -398,6 +398,7 @@ static int spec_irq_init(struct fmc_device *fmc)
uint32_t value; uint32_t value;
int i; int i;
spin_lock_init(&spec->irq_lock);
if (spec_use_msi) { if (spec_use_msi) {
/* /*
* Enable multiple-msi to work around a chip design bug. * Enable multiple-msi to work around a chip design bug.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment