Re: [PATCH 5/6] [media] ds3000: properly report firmware probing issues

2012-09-15 Thread Antti Palosaari
On 09/14/2012 12:27 PM, Rémi Cardona wrote: ds3000_readreg() returns negative values in case of i2c failures. The old code would simply return 0 when failing to read the 0xb2 register, misleading ds3000_initfe() into believing that the firmware had been correctly loaded. Also print out a

[PATCH 5/6] [media] ds3000: properly report firmware probing issues

2012-09-14 Thread Rémi Cardona
ds3000_readreg() returns negative values in case of i2c failures. The old code would simply return 0 when failing to read the 0xb2 register, misleading ds3000_initfe() into believing that the firmware had been correctly loaded. Also print out a message if the chip says a firmware is already