diff options
author | Gary Francis <gary.francis@serverlan.plus.com> | 2009-11-25 01:03:31 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:42:11 -0500 |
commit | 75727460a6dfa4c7fd8472a99269982ec4662e64 (patch) | |
tree | 90cdd7d5edc0a13dcc15b7bfdcde24a5dd4181b3 /drivers/media/video/pvrusb2 | |
parent | 9081d9018581e01eec9085a80c86bc07e7168f18 (diff) |
V4L/DVB (13500): pvrusb2: Fix lingering 16KB FX2 Firmware issues
These are additional fixes to enable proper pvrusb2 support of 16KB
sized FX2 firmware.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-devattr.c | 1 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c index bd3b7932f23e..6bc16c13ccef 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c | |||
@@ -351,6 +351,7 @@ static const struct pvr2_device_desc pvr2_device_73xxx = { | |||
351 | .flag_has_analogtuner = !0, | 351 | .flag_has_analogtuner = !0, |
352 | .flag_has_composite = !0, | 352 | .flag_has_composite = !0, |
353 | .flag_has_svideo = !0, | 353 | .flag_has_svideo = !0, |
354 | .flag_fx2_16kb = !0, | ||
354 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | 355 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
355 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, | 356 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, |
356 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, | 357 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index e93f3e2c25e7..1bbdab08fe0e 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -1522,8 +1522,8 @@ static int pvr2_upload_firmware1(struct pvr2_hdw *hdw) | |||
1522 | 1522 | ||
1523 | trace_firmware("Upload done (%d bytes sent)",ret); | 1523 | trace_firmware("Upload done (%d bytes sent)",ret); |
1524 | 1524 | ||
1525 | /* We should have written 8192 bytes */ | 1525 | /* We should have written fwsize bytes */ |
1526 | if (ret == 8192) { | 1526 | if (ret == fwsize) { |
1527 | hdw->fw1_state = FW1_STATE_RELOAD; | 1527 | hdw->fw1_state = FW1_STATE_RELOAD; |
1528 | return 0; | 1528 | return 0; |
1529 | } | 1529 | } |