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

Commit 5b8a2fb3 authored by Roel Kluin's avatar Roel Kluin Committed by Daniel Walker
Browse files

msm_sdcc.c: missing brackets in msmsdcc_resume()



Since the curly brackets were missing the test and enable_irq(),
if true, occurred twice.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
parent 6b7b2849
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1252,8 +1252,6 @@ msmsdcc_resume(struct platform_device *dev)
			mmc_resume_host(mmc);
		if (host->stat_irq)
			enable_irq(host->stat_irq);
		else if (host->stat_irq)
			enable_irq(host->stat_irq);
	}
	return 0;
}