diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-08-20 08:18:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-21 04:18:05 -0400 |
commit | 6c94e14e7f802011afc1018fc8529e66f40866b9 (patch) | |
tree | 52665abf0ba46c15fda4b813f161ec8d7236becd | |
parent | c59e6d5650e3c0690b6f4f62ebd965e1aa466ea2 (diff) |
[media] radio-si470x-usb: Remove software version check
We've an user reporting a device with a software version of 0, which works
fine. Once we lower the version check to accept version 0 it becomes a nop,
so remove it completely.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-usb.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-usb.c b/drivers/media/radio/si470x/radio-si470x-usb.c index 62f3edec39bc..d6d4d60261d5 100644 --- a/drivers/media/radio/si470x/radio-si470x-usb.c +++ b/drivers/media/radio/si470x/radio-si470x-usb.c | |||
@@ -142,8 +142,6 @@ MODULE_PARM_DESC(max_rds_errors, "RDS maximum block errors: *1*"); | |||
142 | /************************************************************************** | 142 | /************************************************************************** |
143 | * Software/Hardware Versions from Scratch Page | 143 | * Software/Hardware Versions from Scratch Page |
144 | **************************************************************************/ | 144 | **************************************************************************/ |
145 | #define RADIO_SW_VERSION_NOT_BOOTLOADABLE 6 | ||
146 | #define RADIO_SW_VERSION 1 | ||
147 | #define RADIO_HW_VERSION 1 | 145 | #define RADIO_HW_VERSION 1 |
148 | 146 | ||
149 | 147 | ||
@@ -682,15 +680,6 @@ static int si470x_usb_driver_probe(struct usb_interface *intf, | |||
682 | } | 680 | } |
683 | dev_info(&intf->dev, "software version %d, hardware version %d\n", | 681 | dev_info(&intf->dev, "software version %d, hardware version %d\n", |
684 | radio->software_version, radio->hardware_version); | 682 | radio->software_version, radio->hardware_version); |
685 | if (radio->software_version < RADIO_SW_VERSION) { | ||
686 | dev_warn(&intf->dev, | ||
687 | "This driver is known to work with " | ||
688 | "software version %hu,\n", RADIO_SW_VERSION); | ||
689 | dev_warn(&intf->dev, | ||
690 | "but the device has software version %hu.\n", | ||
691 | radio->software_version); | ||
692 | version_warning = 1; | ||
693 | } | ||
694 | if (radio->hardware_version < RADIO_HW_VERSION) { | 683 | if (radio->hardware_version < RADIO_HW_VERSION) { |
695 | dev_warn(&intf->dev, | 684 | dev_warn(&intf->dev, |
696 | "This driver is known to work with " | 685 | "This driver is known to work with " |