From 20e0aee495a6c327e85191d61492c5fe37ca74e4 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 10 Oct 2012 14:13:26 +0300 Subject: [PATCH] --- yaml --- r: 344659 b: refs/heads/master c: 916188a46618313eedb07acac00fa575c503ff25 h: refs/heads/master i: 344657: d4b2bf553a514e78cb2b66c5f6945b7be78c46d0 344655: 5aade067f66f8196f76c1c62821eba0733357cc2 v: v3 --- [refs] | 2 +- trunk/drivers/video/omap2/dss/dispc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0cf70f0ad6c7..fa11a8188350 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b08e3e1342ff836e47767daa47211692d865e730 +refs/heads/master: 916188a46618313eedb07acac00fa575c503ff25 diff --git a/trunk/drivers/video/omap2/dss/dispc.c b/trunk/drivers/video/omap2/dss/dispc.c index 08c08d507273..942dd16f317d 100644 --- a/trunk/drivers/video/omap2/dss/dispc.c +++ b/trunk/drivers/video/omap2/dss/dispc.c @@ -2810,12 +2810,12 @@ void dispc_mgr_disable_sync(enum omap_channel channel) void dispc_wb_enable(bool enable) { - REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(OMAP_DSS_WB), enable ? 1 : 0, 0, 0); + dispc_ovl_enable(OMAP_DSS_WB, enable); } bool dispc_wb_is_enabled(void) { - return REG_GET(DISPC_OVL_ATTRIBUTES(OMAP_DSS_WB), 0, 0); + return dispc_ovl_enabled(OMAP_DSS_WB); } static void dispc_lcd_enable_signal_polarity(bool act_high)