OMAP: DSS2: Fix: Read correct bit in dispc_enable_alpha_blending()
PATCH 1/1 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 <[email protected]>
--- drivers/video/omap2/dss/dispc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/video/omap2/dss/dispc.c +1 -2
@@ -2017,13 +2017,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; - }
Signature · 1 line
1.7.0.4
Tomi Valkeinen
AppliedQuoted 4 lines · ext Archit Taneja
Read correct
DISPC_CONFIGbit when the channel is DIGIT, remove extra line at the end of the function.Signed-off-by Archit Taneja <[email protected]>
Thanks, applied.
Tomi