[media] it913x: re-implement sleep
Re-implement sleep. Based USB sniffs taken from the latest Hauppauge windows driver version 07/10/2014, 14.6.23.32191. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
此提交包含在:
@@ -1324,6 +1324,13 @@ static int af9035_tuner_attach(struct dvb_usb_adapter *adap)
|
||||
.chip_ver = 1,
|
||||
};
|
||||
|
||||
if (state->dual_mode) {
|
||||
if (adap->id == 0)
|
||||
it913x_config.role = IT913X_ROLE_DUAL_MASTER;
|
||||
else
|
||||
it913x_config.role = IT913X_ROLE_DUAL_SLAVE;
|
||||
}
|
||||
|
||||
ret = af9035_add_i2c_dev(d, "it913x",
|
||||
state->af9033_config[adap->id].i2c_addr,
|
||||
&it913x_config);
|
||||
@@ -1342,6 +1349,13 @@ static int af9035_tuner_attach(struct dvb_usb_adapter *adap)
|
||||
.chip_ver = 2,
|
||||
};
|
||||
|
||||
if (state->dual_mode) {
|
||||
if (adap->id == 0)
|
||||
it913x_config.role = IT913X_ROLE_DUAL_MASTER;
|
||||
else
|
||||
it913x_config.role = IT913X_ROLE_DUAL_SLAVE;
|
||||
}
|
||||
|
||||
ret = af9035_add_i2c_dev(d, "it913x",
|
||||
state->af9033_config[adap->id].i2c_addr,
|
||||
&it913x_config);
|
||||
|
新增問題並參考
封鎖使用者