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

Commit 7ce09848 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: dwc3: Fix to debugfs returns with spin_lock"

parents da67f97a 0d4f3239
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -747,8 +747,10 @@ static int dwc3_ep_trbs_show(struct seq_file *s, void *unused)

	spin_lock_irqsave(&dwc->lock, flags);
	dep = dwc->eps[ep_num];
	if (!dep->trb_pool)
	if (!dep->trb_pool) {
		spin_unlock_irqrestore(&dwc->lock, flags);
		return 0;
	}

	seq_printf(s, "%s trb pool: flags:0x%x freeslot:%d busyslot:%d\n",
		dep->name, dep->flags, dep->free_slot, dep->busy_slot);