patch-2.3.36 linux/drivers/char/saa7185.c
Next file: linux/drivers/char/tda9855.c
Previous file: linux/drivers/char/saa7111.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Dec 29 17:08:55 1999
- Orig file:
v2.3.35/linux/drivers/char/saa7185.c
- Orig date:
Mon Dec 20 18:48:21 1999
diff -u --recursive --new-file v2.3.35/linux/drivers/char/saa7185.c linux/drivers/char/saa7185.c
@@ -69,7 +69,6 @@
static int saa7185_write(struct saa7185 *dev, unsigned char subaddr, unsigned char data)
{
int ack;
- unsigned long flags;
LOCK_I2C_BUS(dev->bus);
@@ -85,9 +84,8 @@
static int saa7185_write_block(struct saa7185 *dev, unsigned const char *data, unsigned int len)
{
- int ack;
+ int ack = 0;
unsigned subaddr;
- unsigned long flags;
while (len > 1) {
LOCK_I2C_BUS(dev->bus);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)