diff options
Diffstat (limited to 'linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c index 9cbfede7d..abe272103 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-core.c @@ -71,7 +71,7 @@ static struct dibusb_device_parameter dibusb_dev_parm[3] = { .usb_cpu_csreg = 0x7f92, .num_urbs = 3, - .urb_buf_size = 4096, + .urb_buf_size = 188*21, .default_size = 188*21, .firmware_bug = 1, @@ -89,7 +89,7 @@ static struct dibusb_device_parameter dibusb_dev_parm[3] = { .usb_cpu_csreg = 0xe600, .num_urbs = 3, - .urb_buf_size = 40960, + .urb_buf_size = 188*210, .default_size = 188*210, .firmware_bug = 0, @@ -317,6 +317,10 @@ static int dibusb_init(struct usb_dibusb *dib) sema_init(&dib->usb_sem, 1); sema_init(&dib->i2c_sem, 1); + dibusb_hw_wakeup(dib); +/* dibusb_set_streaming_mode(dib,0);*/ + dibusb_streaming(dib,1); + if ((ret = dibusb_usb_init(dib)) || (ret = dibusb_dvb_init(dib)) || (ret = dibusb_i2c_init(dib))) { @@ -324,10 +328,6 @@ static int dibusb_init(struct usb_dibusb *dib) return ret; } - dibusb_hw_wakeup(dib); - dibusb_set_streaming_mode(dib,0); - dibusb_streaming(dib,1); - if ((ret = dibusb_fe_init(dib))) err("could not initialize a frontend."); @@ -428,7 +428,7 @@ static void dibusb_disconnect(struct usb_interface *intf) } /* usb specific object needed to register this driver with the usb subsystem */ -static struct usb_driver dibusb_driver = { +struct usb_driver dibusb_driver = { .owner = THIS_MODULE, .name = "dvb_dibusb", .probe = dibusb_probe, |