Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad03d300 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e58071f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -147,7 +147,8 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,
	au0828_write(dev, AU0828_I2C_MULTIBYTE_MODE_2FF, 0x01);
	au0828_write(dev, AU0828_I2C_MULTIBYTE_MODE_2FF, 0x01);


	/* Set the I2C clock */
	/* Set the I2C clock */
	if ((dev->board.tuner_type == TUNER_XC5000) &&
	if (((dev->board.tuner_type == TUNER_XC5000) ||
	     (dev->board.tuner_type == TUNER_XC5000C)) &&
	    (dev->board.tuner_addr == msg->addr) &&
	    (dev->board.tuner_addr == msg->addr) &&
	    (msg->len == 64)) {
	    (msg->len == 64)) {
		/* Hack to speed up firmware load.  The xc5000 lets us do up
		/* Hack to speed up firmware load.  The xc5000 lets us do up