mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 07:56:42 +07:00
V4L/DVB (13585): STK807xPVR: correct the enumeration
STK807xPVR: correct the enumeration Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9c78303681
commit
9542f502cf
@ -1632,7 +1632,7 @@ static int stk807xpvr_frontend_attach0(struct dvb_usb_adapter *adap)
|
|||||||
dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1);
|
dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1);
|
||||||
|
|
||||||
/* initialize IC 0 */
|
/* initialize IC 0 */
|
||||||
dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x80);
|
dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x80);
|
||||||
|
|
||||||
adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x80,
|
adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x80,
|
||||||
&dib807x_dib8000_config[0]);
|
&dib807x_dib8000_config[0]);
|
||||||
@ -1643,7 +1643,7 @@ static int stk807xpvr_frontend_attach0(struct dvb_usb_adapter *adap)
|
|||||||
static int stk807xpvr_frontend_attach1(struct dvb_usb_adapter *adap)
|
static int stk807xpvr_frontend_attach1(struct dvb_usb_adapter *adap)
|
||||||
{
|
{
|
||||||
/* initialize IC 1 */
|
/* initialize IC 1 */
|
||||||
dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x82);
|
dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x82);
|
||||||
|
|
||||||
adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x82,
|
adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x82,
|
||||||
&dib807x_dib8000_config[1]);
|
&dib807x_dib8000_config[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user