[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110705144000.23872.25819.stgit@localhost.localdomain>
Date: Tue, 05 Jul 2011 15:40:03 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: greg@...ah.com, linux-kernel@...r.kernel.org
Subject: [PATCH 27/49] gma500: remove an un-needed check
From: Alan Cox <alan@...ux.intel.com>
This is a Medfield only path
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
drivers/staging/gma500/mdfld_device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/gma500/mdfld_device.c b/drivers/staging/gma500/mdfld_device.c
index 3955448..e66d04a 100644
--- a/drivers/staging/gma500/mdfld_device.c
+++ b/drivers/staging/gma500/mdfld_device.c
@@ -589,7 +589,7 @@ static int mdfld_restore_display_registers(struct drm_device *dev, int pipe)
PSB_WVDC32(palette_val[i], palette_reg + (i<<2));
if (pipe == 1)
return 0;
- if (IS_MFLD(dev) && !mdfld_panel_dpi(dev))
+ if (!mdfld_panel_dpi(dev))
mdfld_enable_te(dev, pipe);
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists