[PATCH] tm6000 fix i2c

2010-04-22 Thread Dmitri Belimov
Hi Rework I2C for read word from connected devices, now it works well. Add new functions for read/write blocks. diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c --- a/linux/drivers/staging/tm6000/tm6000-i2c.c Mon Apr 05 22:56:43 2010 -0400 +++ b/linux/drivers/staging/tm6000/tm6000-i

Re: [PATCH] tm6000 fix i2c

2010-04-23 Thread Bee Hock Goh
I am still able to watch tv after applying the patch but the return code is bad and is causing unnecessary reloading of the same firmwares. [ 2482.599040] usb 1-1: firmware: requesting tm6000-xc3028.fw [ 2482.607229] xc2028 2-0061: Loading 77 firmware images from tm6000-xc3028.fw, type: xc2028 fir

Re: [PATCH] tm6000 fix i2c

2010-04-23 Thread Stefan Ringel
Am 23.04.2010 02:48, schrieb Dmitri Belimov: > Hi > > Rework I2C for read word from connected devices, now it works well. > Add new functions for read/write blocks. > > diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c > --- a/linux/drivers/staging/tm6000/tm6000-i2c.c Mon Apr 05

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
Hi It's my error. This code good only for tm6010. Now I rework my patch. With my best regards, Dmitry. > I am still able to watch tv after applying the patch but the return > code is bad and is causing unnecessary reloading of the same > firmwares. > > [ 2482.599040] usb 1-1: firmware: requesti

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
Hi It's my error. This code good only for tm6010. Now I rework my patch. With my best regards, Dmitry. > Am 23.04.2010 02:48, schrieb Dmitri Belimov: > > Hi > > > > Rework I2C for read word from connected devices, now it works well. > > Add new functions for read/write blocks. > > > > diff -r 7c

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
Hi Rework last I2C patch. Set correct limit for I2C packet. Use different method for the tm5600/tm6000 and tm6010 to read word. Try this patch. diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c --- a/linux/drivers/staging/tm6000/tm6000-i2c.c Mon Apr 05 22:56:43 2010 -0400 +++ b/lin

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Bee Hock Goh
thanks. This is work fine on my tm5600. btw, can you use the git tree? There is some codes update from Stefan there for the tm6000-i2c that is still not sync with hg. On Mon, Apr 26, 2010 at 8:25 AM, Dmitri Belimov wrote: > Hi > > Rework last I2C patch. > Set correct limit for I2C packet. > Use

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Mauro Carvalho Chehab
Hi Dmitri, Dmitri Belimov wrote: > Hi > > Rework last I2C patch. > Set correct limit for I2C packet. > Use different method for the tm5600/tm6000 and tm6010 to read word. > > Try this patch. > > diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c > --- a/linux/drivers/staging/tm6000

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Dmitri Belimov
On Mon, 26 Apr 2010 20:58:24 +0800 Bee Hock Goh wrote: > thanks. This is work fine on my tm5600. Good news. > btw, can you use the git tree? There is some codes update from Stefan > there for the tm6000-i2c that is still not sync with hg. no problemm. Give me access and URL. With my best reg

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Bee Hock Goh
wiki is your best friend. :) http://www.linuxtv.org/wiki/index.php/Maintaining_Git_trees http://www.linuxtv.org/wiki/index.php/Using_a_git_driver_development_tree On Tue, Apr 27, 2010 at 1:15 PM, Dmitri Belimov wrote: > On Mon, 26 Apr 2010 20:58:24 +0800 > Bee Hock Goh wrote: > >> thanks. This

Re: [PATCH] tm6000 fix i2c

2010-04-27 Thread Dmitri Belimov
On Tue, 27 Apr 2010 14:07:00 +0800 Bee Hock Goh wrote: > wiki is your best friend. :) > > http://www.linuxtv.org/wiki/index.php/Maintaining_Git_trees > http://www.linuxtv.org/wiki/index.php/Using_a_git_driver_development_tree Ok. This is new version. Made by git. diff --git a/drivers/staging/