[media] af9035: add default 0x9135 slave I2C address
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 9 Feb 2014 13:02:49 +0000 (10:02 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 24 Feb 2014 13:41:05 +0000 (10:41 -0300)
commita1310ff4c438bbdbd76dda5cbc27cc108d08d1c1
tree17c7cf11b5c8c3ff69c0dcc3ba7759459c58b981
parent7a541ce08ce25e2037bdc1ff2c22fbf790072466
[media] af9035: add default 0x9135 slave I2C address

On some devices the vendor has not set EEPROM_2ND_DEMOD_ADDR.

Checks tmp is not zero after call to get EEPROM_2ND_DEMOD_ADDR and sets the
default slave address of 0x3a on 0x9135 devices.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
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