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

Commit 712247a6 authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

OMAP: DSS2: Fix: Read correct bit in dispc_enable_alpha_blending()



Read correct DISPC_CONFIG bit when the channel is DIGIT, remove extra line
at the end of the function.

Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent 01539ba2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2003,13 +2003,12 @@ bool dispc_alpha_blending_enabled(enum omap_channel ch)
	if (ch == OMAP_DSS_CHANNEL_LCD)
		enabled = REG_GET(DISPC_CONFIG, 18, 18);
	else if (ch == OMAP_DSS_CHANNEL_DIGIT)
		enabled = REG_GET(DISPC_CONFIG, 18, 18);
		enabled = REG_GET(DISPC_CONFIG, 19, 19);
	else
		BUG();
	enable_clocks(0);

	return enabled;

}