aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/siano/smsusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/siano/smsusb.c')
-rw-r--r--drivers/media/usb/siano/smsusb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 1836a416d806..94e10b10b66e 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -277,14 +277,14 @@ static int smsusb1_load_firmware(struct usb_device *udev, int id, int board_id)
277 rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 2), 277 rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 2),
278 fw_buffer, fw->size, &dummy, 1000); 278 fw_buffer, fw->size, &dummy, 1000);
279 279
280 sms_info("sent %zd(%d) bytes, rc %d", fw->size, dummy, rc); 280 sms_info("sent %zu(%d) bytes, rc %d", fw->size, dummy, rc);
281 281
282 kfree(fw_buffer); 282 kfree(fw_buffer);
283 } else { 283 } else {
284 sms_err("failed to allocate firmware buffer"); 284 sms_err("failed to allocate firmware buffer");
285 rc = -ENOMEM; 285 rc = -ENOMEM;
286 } 286 }
287 sms_info("read FW %s, size=%zd", fw_filename, fw->size); 287 sms_info("read FW %s, size=%zu", fw_filename, fw->size);
288 288
289 release_firmware(fw); 289 release_firmware(fw);
290 290
@@ -655,6 +655,8 @@ static const struct usb_device_id smsusb_id_table[] = {
655 .driver_info = SMS1XXX_BOARD_ONDA_MDTV_DATA_CARD }, 655 .driver_info = SMS1XXX_BOARD_ONDA_MDTV_DATA_CARD },
656 { USB_DEVICE(0x3275, 0x0080), 656 { USB_DEVICE(0x3275, 0x0080),
657 .driver_info = SMS1XXX_BOARD_SIANO_RIO }, 657 .driver_info = SMS1XXX_BOARD_SIANO_RIO },
658 { USB_DEVICE(0x2013, 0x0257),
659 .driver_info = SMS1XXX_BOARD_PCTV_77E },
658 { } /* Terminating entry */ 660 { } /* Terminating entry */
659 }; 661 };
660 662