diff options
author | Antti Palosaari <crope@iki.fi> | 2008-11-13 19:14:18 +0200 |
---|---|---|
committer | Antti Palosaari <crope@iki.fi> | 2008-11-13 19:14:18 +0200 |
commit | 63fddcde9b4824f1bd5d261dd0f91171d560a98a (patch) | |
tree | dd2475740af4cda92a47c8b3a453459ee054c628 /linux/drivers/media/dvb/dvb-usb | |
parent | 42290bd4d466901e792139032b1e0af60bd36cd7 (diff) | |
download | mediapointer-dvb-s2-63fddcde9b4824f1bd5d261dd0f91171d560a98a.tar.gz mediapointer-dvb-s2-63fddcde9b4824f1bd5d261dd0f91171d560a98a.tar.bz2 |
af9015: don't reconnect device in USB-bus
From: Jose Alberto Reguero <jareguero@telefonica.net>
Don't reconnect device in the USB-bus. Reconnect command was not executed every time by device firmware and that causes harm. Reconnection is not needed so remove it.
Priority: high
Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/af9015.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c index 6bc55614d..c52ebce9f 100644 --- a/linux/drivers/media/dvb/dvb-usb/af9015.c +++ b/linux/drivers/media/dvb/dvb-usb/af9015.c @@ -681,12 +681,6 @@ static int af9015_download_firmware(struct usb_device *udev, goto error; } - /* firmware is running, reconnect device in the usb bus */ - req.cmd = RECONNECT_USB; - ret = af9015_rw_udev(udev, &req); - if (ret) - err("reconnect failed: %d", ret); - error: return ret; } @@ -1219,6 +1213,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { .usb_ctrl = DEVICE_SPECIFIC, .download_firmware = af9015_download_firmware, .firmware = "dvb-usb-af9015.fw", + .no_reconnect = 1, .size_of_priv = sizeof(struct af9015_state), \ @@ -1317,6 +1312,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { .usb_ctrl = DEVICE_SPECIFIC, .download_firmware = af9015_download_firmware, .firmware = "dvb-usb-af9015.fw", + .no_reconnect = 1, .size_of_priv = sizeof(struct af9015_state), \ |