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

Commit 87d7e20e authored by Joonwoo Park's avatar Joonwoo Park Committed by Stephen Boyd
Browse files

ASoC: wcd9xxx: fix build warning



Fix warnings due to -Wmaybe-uninitialized in GCC

Change-Id: Ied264ec359620006f1beea26ab7457bb5367fcb7
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 831b93a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1205,7 +1205,7 @@ wcd9xxx_find_plug_type(struct wcd9xxx_mbhc *mbhc,
		goto exit;
	}

	for (i = 0, d = dt; i < size; i++, d++) {
	for (i = 0, dprev = NULL, d = dt; i < size; i++, d++) {
		if (d->vddio) {
			dvddio = d;
			continue;