瀏覽代碼

V4L/DVB (3574): Cxusb: fix debug messages

- corrects the wording in some of the debug messages.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Michael Krufky 19 年之前
父節點
當前提交
4d6e772d98
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      drivers/media/dvb/dvb-usb/cxusb.c

+ 3 - 3
drivers/media/dvb/dvb-usb/cxusb.c

@@ -81,7 +81,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
 		return -EAGAIN;
 		return -EAGAIN;
 
 
 	if (num > 2)
 	if (num > 2)
-		warn("more than 2 i2c messages at a time is not handled yet. TODO.");
+		warn("more than two i2c messages at a time is not handled yet. TODO.");
 
 
 	for (i = 0; i < num; i++) {
 	for (i = 0; i < num; i++) {
 
 
@@ -109,7 +109,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
 				break;
 				break;
 
 
 			if (ibuf[0] != 0x08)
 			if (ibuf[0] != 0x08)
-				deb_info("i2c read could have been failed\n");
+				deb_info("i2c read may have failed\n");
 
 
 			memcpy(msg[i+1].buf,&ibuf[1],msg[i+1].len);
 			memcpy(msg[i+1].buf,&ibuf[1],msg[i+1].len);
 
 
@@ -123,7 +123,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
 			if (cxusb_ctrl_msg(d,CMD_I2C_WRITE, obuf, 2+msg[i].len, &ibuf,1) < 0)
 			if (cxusb_ctrl_msg(d,CMD_I2C_WRITE, obuf, 2+msg[i].len, &ibuf,1) < 0)
 				break;
 				break;
 			if (ibuf != 0x08)
 			if (ibuf != 0x08)
-				deb_info("i2c write could have been failed\n");
+				deb_info("i2c write may have failed\n");
 		}
 		}
 	}
 	}