patch-2.4.15 linux/drivers/media/video/saa7110.c

Next file: linux/drivers/media/video/zr36067.c
Previous file: linux/drivers/media/video/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/drivers/media/video/saa7110.c linux/drivers/media/video/saa7110.c
@@ -83,6 +83,7 @@
 	while (len-- > 0) {
                 if (i2c_sendbyte(decoder->bus,*data,0)) {
                         i2c_stop(decoder->bus);
+                        UNLOCK_I2C_BUS(decoder->bus);
                         return -EAGAIN;
                 }
 		decoder->reg[subaddr++] = *data++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)