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

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

Merge "swr-wcd-ctrl: add check for end of soundwire port list"

parents 95dd6ee1 e0efb544
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ inc_loop:
			list_del(&mport->list);
			kfree(mport);
		}
		if (!mport_next) {
		if (!mport_next || (&mport_next->list == &swrm->mport_list)) {
			dev_err(swrm->dev, "%s: end of list\n", __func__);
			break;
		}