V4L/DVB: tm6000: bugfix reading problems with demodulator zl10353
authorStefan Ringel <stefan.ringel@arcor.de>
Mon, 22 Feb 2010 17:35:06 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:44:08 +0000 (00:44 -0300)
commit02512fe33e9162713cd522937aabc81fcd97ad74
tree50e382c7fb6bb06ae38bd9f9af9b165074267dda
parent4e11502d4597c6252411dc1b5c16b47d08b5f246
V4L/DVB: tm6000: bugfix reading problems with demodulator zl10353

Reading from zl10353 with tm6000 has a bug. For example:

regs  w/o patch  with patch

0x06     0x00        0x7f
0x07     0x33        0x30
0x08     0x00        0x00
0x09     0x58        0x50
0x0f     0x31        0x28
0x10     0x00        0x84

This patch provides the workaround for the bug

[mchehab@redhat.com: Fix merge conflict and add a comment at the workaround]
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-i2c.c