You need to sign in or sign up before continuing.
提交 6cad95fe 编写于 作者: S Stefan Richter

firewire: fix failure path in ohci_enable_phys_dma

"goto out" happens with the lock taken.
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: NKristian Høgsberg <krh@redhat.com>
上级 5af4e5ea
......@@ -850,10 +850,8 @@ ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation)
1 << (node_id - 32));
}
flush_writes(ohci);
spin_unlock_irqrestore(&ohci->lock, flags);
out:
spin_unlock_irqrestore(&ohci->lock, flags);
return retval;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册