diff options
author | Pedro Andres Aranda Gutierrez <paaguti@gmail.com> | 2009-11-19 11:15:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:18:14 -0500 |
commit | 4bf2c5c30eb50e4d9d9afb4565829ed0e0582d91 (patch) | |
tree | 6305f23334edbf2e41df98c344edd2b960e40883 /drivers/media/dvb/dvb-usb/dibusb-common.c | |
parent | 81afda5182667dcc89374cb5bb94fd6db01c9263 (diff) |
V4L/DVB (13579): PATCH: better support for INTUIX DVB stick boot
The device is bootingcorrectly, but no frontend is attached.
This patch corrects this behaviour.
Signed-off-by: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dibusb-common.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index da34979b5337..b395e852e47f 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -243,6 +243,12 @@ static struct dib3000mc_config mod3000p_dib3000p_config = { | |||
243 | 243 | ||
244 | int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) | 244 | int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) |
245 | { | 245 | { |
246 | if (adap->dev->udev->descriptor.idVendor == USB_VID_LITEON && | ||
247 | adap->dev->udev->descriptor.idProduct == | ||
248 | USB_PID_LITEON_DVB_T_WARM) { | ||
249 | msleep(1000); | ||
250 | } | ||
251 | |||
246 | if ((adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000P_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL || | 252 | if ((adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000P_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL || |
247 | (adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000MC_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL) { | 253 | (adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000MC_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL) { |
248 | if (adap->priv != NULL) { | 254 | if (adap->priv != NULL) { |