From 688cbbcf7b02e39cc85851985c3735fdbff7f00c Mon Sep 17 00:00:00 2001 From: Chris Pascoe Date: Mon, 19 Nov 2007 02:48:27 -0300 Subject: [PATCH] --- yaml --- r: 76435 b: refs/heads/master c: 13e001dfe3aeb9e7b05445af76e5b47235e81285 h: refs/heads/master i: 76433: 1bd8b89fcb696445f4ca0e2dfc7432284d163f81 76431: 301ea5cae321f0945efd4ada95bb1ffa7380ec4a v: v3 --- [refs] | 2 +- trunk/drivers/media/dvb/dvb-usb/cxusb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5bbf3c5ecedf..ffccd6fa9ba7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b17f109df1cd9fe1009501d59e466701106590d7 +refs/heads/master: 13e001dfe3aeb9e7b05445af76e5b47235e81285 diff --git a/trunk/drivers/media/dvb/dvb-usb/cxusb.c b/trunk/drivers/media/dvb/dvb-usb/cxusb.c index b4a3f7baf1b7..86fbd6c73ea9 100644 --- a/trunk/drivers/media/dvb/dvb-usb/cxusb.c +++ b/trunk/drivers/media/dvb/dvb-usb/cxusb.c @@ -132,7 +132,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], } mutex_unlock(&d->i2c_mutex); - return i; + return i == num ? num : -EREMOTEIO; } static u32 cxusb_i2c_func(struct i2c_adapter *adapter)