summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2004-08-03 22:58:22 +0000
committerPatrick Boettcher <devnull@localhost>2004-08-03 22:58:22 +0000
commitd5cacfee5170de2fcb36b693199a14442b5c1619 (patch)
treee8f5ae2a46aa80ae39e6b57d7129d93b638873e4 /linux
parentd0bddb4353e8f52e822ab3d8a3dc1c4c19db6a0f (diff)
downloadmediapointer-dvb-s2-d5cacfee5170de2fcb36b693199a14442b5c1619.tar.gz
mediapointer-dvb-s2-d5cacfee5170de2fcb36b693199a14442b5c1619.tar.bz2
added some more detailed firmware debug messages
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/vp7041/vp7041.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/vp7041/vp7041.c b/linux/drivers/media/dvb/vp7041/vp7041.c
index f5d93be73..a570adef2 100644
--- a/linux/drivers/media/dvb/vp7041/vp7041.c
+++ b/linux/drivers/media/dvb/vp7041/vp7041.c
@@ -876,11 +876,14 @@ static int vp7041_loadfirmware(struct usb_device *udev)
{
const struct firmware *fw = NULL;
int ret = 0, i;
- for (i = 0; i < sizeof(firmware_filenames)/sizeof(char*); i++)
- if (request_firmware(&fw, firmware_filenames[i], &udev->dev) == 0) {
+ for (i = 0; i < sizeof(firmware_filenames)/sizeof(char*); i++) {
+ if ((ret = request_firmware(&fw, firmware_filenames[i], &udev->dev)) == 0) {
info("found firmware file (%s).",firmware_filenames[i]);
break;
}
+ dprintk("Firmware '%s' not found. (%d)\n",firmware_filenames[i],ret);
+ }
+
if (fw == NULL) {
err("Did not find a valid firmware.");