Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-16 Thread Frank Schäfer
Am 15.12.2012 18:16, schrieb Antti Palosaari: On 12/15/2012 06:25 PM, Frank Schäfer wrote: Am 15.12.2012 14:46, schrieb Antti Palosaari: On 12/15/2012 03:01 PM, Frank Schäfer wrote: Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-15 Thread Frank Schäfer
Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave address range (only 7 bit addresses supported) - do not pass USB specific error codes to userspace/i2c-subsystem - unify the returned error codes and make them compliant with the

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-15 Thread Antti Palosaari
On 12/15/2012 03:01 PM, Frank Schäfer wrote: Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave address range (only 7 bit addresses supported) - do not pass USB specific error codes to userspace/i2c-subsystem - unify the returned error

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-15 Thread Frank Schäfer
Am 15.12.2012 14:46, schrieb Antti Palosaari: On 12/15/2012 03:01 PM, Frank Schäfer wrote: Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave address range (only 7 bit addresses supported) - do not pass USB specific error codes to

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-15 Thread Antti Palosaari
On 12/15/2012 06:25 PM, Frank Schäfer wrote: Am 15.12.2012 14:46, schrieb Antti Palosaari: On 12/15/2012 03:01 PM, Frank Schäfer wrote: Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave address range (only 7 bit addresses supported)

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-15 Thread Mauro Carvalho Chehab
Em Sat, 15 Dec 2012 17:25:55 +0100 Frank Schäfer fschaefer@googlemail.com escreveu: Am 15.12.2012 14:46, schrieb Antti Palosaari: On 12/15/2012 03:01 PM, Frank Schäfer wrote: Am 14.12.2012 18:03, schrieb Antti Palosaari: On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave

[PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-14 Thread Frank Schäfer
- check i2c slave address range (only 7 bit addresses supported) - do not pass USB specific error codes to userspace/i2c-subsystem - unify the returned error codes and make them compliant with the i2c subsystem spec - check number of actually transferred bytes (via USB) everywehere - fix/improve

Re: [PATCH 5/5] em28xx: fix+improve+unify i2c error handling, debug messages and code comments

2012-12-14 Thread Antti Palosaari
On 12/14/2012 06:28 PM, Frank Schäfer wrote: - check i2c slave address range (only 7 bit addresses supported) - do not pass USB specific error codes to userspace/i2c-subsystem - unify the returned error codes and make them compliant with the i2c subsystem spec - check number of actually