The patch number 9140 was added via Antti Palosaari <[EMAIL PROTECTED]> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: [EMAIL PROTECTED] ------ From: Antti Palosaari <[EMAIL PROTECTED]> anysee: unlock I2C-mutex in error case - unlock I2C-mutex also in error case Priority: high Signed-off-by: Antti Palosaari <[EMAIL PROTECTED]> --- linux/drivers/media/dvb/dvb-usb/anysee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -r 405d3e926ffd -r 5c4d0f3cd044 linux/drivers/media/dvb/dvb-usb/anysee.c --- a/linux/drivers/media/dvb/dvb-usb/anysee.c Sat Aug 09 09:21:15 2008 -0300 +++ b/linux/drivers/media/dvb/dvb-usb/anysee.c Mon Aug 11 16:36:43 2008 +0300 @@ -178,14 +178,14 @@ static int anysee_master_xfer(struct i2c inc = 1; } if (ret) - return ret; + break; i += inc; } mutex_unlock(&d->i2c_mutex); - return i; + return ret ? ret : i; } static u32 anysee_i2c_func(struct i2c_adapter *adapter) --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/5c4d0f3cd04400d4761377abe8b4dccd1f610366 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits