Thread (38 messages) 38 messages, 5 authors, 2011-03-16

Re: [PATCH v2 1/3] ARM: PXA: PXAFB: Fix double-free issue

flat view
STALE5688d

From: Vasily Khoruzhick <anarsoul@gmail.com>
Date: 2011-02-26 16:39:46
Also in: linux-arm-kernel

On Sunday 20 February 2011 20:46:20 Marek Vasut wrote:
quoted
@@ -629,6 +629,9 @@ static void overlay1fb_disable(struct pxafb_layer
*ofb)

 {
 
 	uint32_t lccr5 = lcd_readl(ofb->fbi, LCCR5);

+	if (!(lcd_readl(ofb->fbi, OVL1C1) & OVLxC1_OEN))
+		return;
+
Maybe you can even avoid reading LCCR5 above ;-)
Agreed.

Will resend soon.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help