From d60b50b5248b9badf996119c80136503b1d68ed7 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 11 May 2009 15:15:52 +0200 Subject: [PATCH 065/146] DSS2: VRFB: don't WARN when releasing inactive ctx Releasing an inactive context is valid, it can happen when the application first blanks the screen then frees the framebuffer. Signed-off-by: Imre Deak --- arch/arm/plat-omap/vrfb.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/vrfb.c b/arch/arm/plat-omap/vrfb.c index 29f04e2..34395c2 100644 --- a/arch/arm/plat-omap/vrfb.c +++ b/arch/arm/plat-omap/vrfb.c @@ -176,7 +176,6 @@ void omap_vrfb_release_ctx(struct vrfb *vrfb) BUG(); return; } - WARN_ON(!(ctx_map_active & (1 << ctx))); clear_bit(ctx, &ctx_map_active); clear_bit(ctx, &ctx_map); -- 1.6.2.4