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

Commit 6cad95fe authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: fix failure path in ohci_enable_phys_dma



"goto out" happens with the lock taken.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: default avatarKristian Høgsberg <krh@redhat.com>
parent 5af4e5ea
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
}