projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864c714
)
[media] af9035: print warning when firmware is bad
author
Antti Palosaari
<crope@iki.fi>
Sun, 9 Dec 2012 19:25:08 +0000
(16:25 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 6 Jan 2013 11:10:34 +0000
(09:10 -0200)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/af9035.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb-v2/af9035.c
b/drivers/media/usb/dvb-usb-v2/af9035.c
index 68e0e80416aa456bd541f71fa982f96185ec8ac3..ea37b5c3c33fa4ee70845364e5324b93667f55c4 100644
(file)
--- a/
drivers/media/usb/dvb-usb-v2/af9035.c
+++ b/
drivers/media/usb/dvb-usb-v2/af9035.c
@@
-437,6
+437,10
@@
static int af9035_download_firmware(struct dvb_usb_device *d,
__func__, fw->size - i);
}
+ /* print warn if firmware is bad, continue and see what happens */
+ if (i)
+ dev_warn(&d->udev->dev, "%s: bad firmware\n", KBUILD_MODNAME);
+
/* firmware loaded, request boot */
req.cmd = CMD_FW_BOOT;
ret = af9035_ctrl_msg(d, &req);