[media] xc4000: cut over to using xc5000 version for loading i2c sequences
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Mon, 20 Jul 2009 05:15:31 +0000 (02:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:28 +0000 (17:52 -0300)
commit31f880e2b99a780a4ee5fb6199e489b62e0a76ec
tree39a8028fab8039f10434bcd24adc3f1dac2836d3
parent11091a31fbf7496294795ca72d69db0233857d94
[media] xc4000: cut over to using xc5000 version for loading i2c sequences

The xc3028 version does i2c splitting in a different manner than xc4000 and
xc5000, so reuse the xc5000 version of the routine (the key here being that
xc4000 expects the first *two* bytes to be the same for splitting transactions.

Doing it the xc3028 way was resulting in i2c errors partially through the
firmware load.  With this change, it would appear that the entire base firmware
is being loaded successfully (product id now properly shows 0x0FA0).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc4000.c