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

Commit 83431cba authored by Jay Fenlason's avatar Jay Fenlason Committed by Stefan Richter
Browse files

firewire: fw-cdev: reorder wakeup vs. spinlock

parent c1b91ce4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -143,11 +143,10 @@ static void queue_event(struct client *client, struct event *event,
	event->v[1].size = size1;

	spin_lock_irqsave(&client->lock, flags);

	list_add_tail(&event->link, &client->event_list);
	wake_up_interruptible(&client->wait);

	spin_unlock_irqrestore(&client->lock, flags);

	wake_up_interruptible(&client->wait);
}

static int