[PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-04 Thread Mauro Carvalho Chehab
The proper error code for I2C errors are EREMOTEIO. The em28xx driver is using EIO instead. Replace all occurrences of EIO at em28xx-i2c, in order to fix it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/em28xx/em28xx-i2c.c | 20 ++-- 1 file changed, 10 insertions(+

Re: [PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-05 Thread Frank Schäfer
Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > The proper error code for I2C errors are EREMOTEIO. The em28xx driver > is using EIO instead. > > Replace all occurrences of EIO at em28xx-i2c, in order to fix it. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/usb/em28xx/em28x

Re: [PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-06 Thread Mauro Carvalho Chehab
Em Sun, 05 Jan 2014 21:40:38 +0100 Frank Schäfer escreveu: > Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > > The proper error code for I2C errors are EREMOTEIO. The em28xx driver > > is using EIO instead. > > > > Replace all occurrences of EIO at em28xx-i2c, in order to fix it. > > > > Si

Re: [PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-07 Thread Frank Schäfer
Am 06.01.2014 10:55, schrieb Mauro Carvalho Chehab: > Em Sun, 05 Jan 2014 21:40:38 +0100 > Frank Schäfer escreveu: > >> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: >>> The proper error code for I2C errors are EREMOTEIO. The em28xx driver >>> is using EIO instead. >>> >>> Replace all occurr

Re: [PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-08 Thread Mauro Carvalho Chehab
Em Tue, 07 Jan 2014 18:28:45 +0100 Frank Schäfer escreveu: > Am 06.01.2014 10:55, schrieb Mauro Carvalho Chehab: > > Em Sun, 05 Jan 2014 21:40:38 +0100 > > Frank Schäfer escreveu: > > > >> Am 04.01.2014 11:55, schrieb Mauro Carvalho Chehab: > >>> The proper error code for I2C errors are EREMOTEI

Re: [PATCH v4 17/22] [media] em28xx-i2c: Fix error code for I2C error transfers

2014-01-08 Thread Frank Schäfer
Am 08.01.2014 12:55, schrieb Mauro Carvalho Chehab: > Em Tue, 07 Jan 2014 18:28:45 +0100 > Frank Schäfer escreveu: ... > >> But we also get this when a slave device isn't present or doesn't >> answer, which means it doesn't ACK the data. >> So ETIMEDOUT is wrong. > It is still a timeout: the devic