[media] au0828: fix i2c clock speed for DViCO FusionHDTV7
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 11 Feb 2014 01:54:34 +0000 (22:54 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 15:14:39 +0000 (12:14 -0300)
DViCO FusionHDTV7 device that use au0828 can fail to communicate with
xc5000 using i2c interface because of high i2c clock speed - i2c clock
stretching bug. It causes to fail xc5000 firmware loading normally at
the current driver.

Already this problem fixed as changing to low i2c clock speed at
HVR-950q device, also DViCO FusionHDTV7 device can solve it as using low
i2c clock speed - 20KHz.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-cards.c

index 00291ea8946eabdfab5e10bcb295df04888332bd..7fdadf9bc90bf30c259ae3359789e816adfcb6c8 100644 (file)
@@ -108,7 +108,7 @@ struct au0828_board au0828_boards[] = {
                .name   = "DViCO FusionHDTV USB",
                .tuner_type = UNSET,
                .tuner_addr = ADDR_UNSET,
-               .i2c_clk_divider = AU0828_I2C_CLK_250KHZ,
+               .i2c_clk_divider = AU0828_I2C_CLK_20KHZ,
        },
        [AU0828_BOARD_HAUPPAUGE_WOODBURY] = {
                .name = "Hauppauge Woodbury",