aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2012-08-06 21:47:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-09 19:58:57 -0400
commitad03d300e86a6e42ce383792c7b4d8dd9aa1d5da (patch)
tree19467714d1f775b3e885718ac3ca0611db5b82a2 /drivers/media/video/au0828
parente58071f024aa337b7ce41682578b33895b024f8b (diff)
[media] au0828: make xc5000 firmware speedup apply to the xc5000c as well
Make the firmware speedup work for the 5000c as well as the original xc5000. This cuts firmware load time in half. Thanks to John Casey at Hauppauge for loaning me a board for testing. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828')
-rw-r--r--drivers/media/video/au0828/au0828-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-i2c.c b/drivers/media/video/au0828/au0828-i2c.c
index 3bc76df5a47a..4ded17fe1957 100644
--- a/drivers/media/video/au0828/au0828-i2c.c
+++ b/drivers/media/video/au0828/au0828-i2c.c
@@ -147,7 +147,8 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,
147 au0828_write(dev, AU0828_I2C_MULTIBYTE_MODE_2FF, 0x01); 147 au0828_write(dev, AU0828_I2C_MULTIBYTE_MODE_2FF, 0x01);
148 148
149 /* Set the I2C clock */ 149 /* Set the I2C clock */
150 if ((dev->board.tuner_type == TUNER_XC5000) && 150 if (((dev->board.tuner_type == TUNER_XC5000) ||
151 (dev->board.tuner_type == TUNER_XC5000C)) &&
151 (dev->board.tuner_addr == msg->addr) && 152 (dev->board.tuner_addr == msg->addr) &&
152 (msg->len == 64)) { 153 (msg->len == 64)) {
153 /* Hack to speed up firmware load. The xc5000 lets us do up 154 /* Hack to speed up firmware load. The xc5000 lets us do up