mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 04:17:47 +00:00
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: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
parent
01539ba2a7
commit
712247a681
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user