media: cx231xx: Fix several incorrect demod addresses
authorBrad Love <brad@nextdimension.cc>
Thu, 3 May 2018 21:20:07 +0000 (17:20 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 12:23:00 +0000 (08:23 -0400)
Now the board values match the hard coded
constants used in the dvb initialization.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/cx231xx/cx231xx-cards.c

index 89795d4d0a71a4a0ac4cc45b569ba9670aac95bb..a431a998d58f74ccdcd0f4a4d187c9428b5f1fc7 100644 (file)
@@ -715,7 +715,7 @@ struct cx231xx_board cx231xx_boards[] = {
                .tuner_i2c_master = I2C_1_MUX_3,
                .demod_i2c_master = I2C_1_MUX_3,
                .has_dvb = 1,
-               .demod_addr = 0x0e,
+               .demod_addr = 0x64, /* 0xc8 >> 1 */
                .norm = V4L2_STD_PAL,
 
                .input = {{
@@ -754,7 +754,7 @@ struct cx231xx_board cx231xx_boards[] = {
                .tuner_i2c_master = I2C_1_MUX_3,
                .demod_i2c_master = I2C_1_MUX_3,
                .has_dvb = 1,
-               .demod_addr = 0x0e,
+               .demod_addr = 0x64, /* 0xc8 >> 1 */
                .norm = V4L2_STD_PAL,
 
                .input = {{
@@ -793,7 +793,7 @@ struct cx231xx_board cx231xx_boards[] = {
                .tuner_i2c_master = I2C_1_MUX_3,
                .demod_i2c_master = I2C_1_MUX_3,
                .has_dvb = 1,
-               .demod_addr = 0x0e,
+               .demod_addr = 0x59, /* 0xb2 >> 1 */
                .norm = V4L2_STD_NTSC,
 
                .input = {{