[media] siano: report the choosed firmware in debug
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Mar 2013 09:54:14 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:41:06 +0000 (07:41 -0300)
Don't keep in the dark: report the firmware file name after
lookup. That helps to debug what's happening when a firmware is not
found.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smscoreapi.c

index d489701c3842f389e9b508a4a379f16624900ed6..5034153ed09c0b53390a83e95e9b7f19618658a2 100644 (file)
@@ -1010,6 +1010,7 @@ static int smscore_load_firmware_from_file(struct smscore_device_t *coredev,
        const struct firmware *fw;
 
        char *fw_filename = smscore_get_fw_filename(coredev, mode, lookup);
+       sms_debug("Firmware name: %s\n", fw_filename);
        if (!strcmp(fw_filename, "none"))
                return -ENOENT;