V4L/DVB (9781): [PATCH] Cablestar 2 I2C retries (fix CableStar2 support)
authorAntti Seppälä <a.seppala+linux-dvb@gmail.com>
Mon, 1 Dec 2008 09:59:37 +0000 (06:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Dec 2008 18:43:58 +0000 (16:43 -0200)
commit11c6c7fb89a7526841eb4f294de631f3b8a31f10
treeecdcad336abd058adf8064691f03984d2685548e
parent4b330bee66e88c94789d2eea250dd1fd454a645e
V4L/DVB (9781): [PATCH] Cablestar 2 I2C retries (fix CableStar2 support)

At some point the Flexcop driver was changed to support newer Flexcop cards.
These modifications however broke the detection of Cablestar 2 DVB-C cards.

The reason is that the earlier version of the driver used to retry
unsuccessful i2c operations. The demodulator of Cablestar 2 cards (stv0297)
seems to be very dependent on these retries and adding them back fixes
Cablestar detection.

This patch restores this behaviour for the CableStar2.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/b2c2/flexcop-fe-tuner.c
drivers/media/dvb/b2c2/flexcop-i2c.c