[media] af9035: override tuner id when bad value set into eeprom
authorAntti Palosaari <crope@iki.fi>
Tue, 24 Jun 2014 13:03:59 +0000 (10:03 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 18:06:43 +0000 (15:06 -0300)
commit1cbbf90d0406913ad4b44194b07f4f41bde84e54
tree9367e85e8610c0d0adccf1ba3032add0fecf6be3
parent13936af3d2f04f173a83cc050dbc4b20d8562b81
[media] af9035: override tuner id when bad value set into eeprom

Tuner ID set into EEPROM is wrong in some cases, which causes driver
to select wrong tuner profile. That leads device non-working. Fix
issue by overriding known bad tuner IDs with suitable default value.

Thanks to MX-NET Telekomunikace s.r.o. for providing non-working
DTV stick, that I could fix the bug!

Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/dvb-usb-v2/af9035.c