Skip to contentSkip to conversation

rivafb: Fix I2C getscl callback function

PATCH New Antonino A. Daplas 1 participant 1 message May 9, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 rivafb: Fix I2C getscl callback function

From: Jean Delvare <[email protected]>

Fix rivafb's I2C getscl callback function, as was done in nvidiafb recently.

---
Andrew,

This chunk somehow got lost in the merge.

Tony

 drivers/video/riva/rivafb-i2c.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/riva/rivafb-i2c.c +0 -2
index 76e6ce3..a0e22ac 100644
@@ -70,8 +70,6 @@ static int riva_gpio_getscl(void* data)
 	if (VGA_RD08(par->riva.PCIO, 0x3d5) & 0x04)
 		val = 1;
 
-	val = VGA_RD08(par->riva.PCIO, 0x3d5);
-
 	return val;
 }
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/