diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-07 04:54:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 06:41:06 -0400 |
commit | ab7bdb12984732e5ebac00d6a180431cbd4e0ce1 (patch) | |
tree | 9d074993875f6663269c0c41731a6891ea871a08 /drivers/media/common/siano | |
parent | 018b0c6f8acb5819591f3b43b51fc342af548c82 (diff) |
[media] siano: report the choosed firmware in debug
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>
Diffstat (limited to 'drivers/media/common/siano')
-rw-r--r-- | drivers/media/common/siano/smscoreapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index d489701c3842..5034153ed09c 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c | |||
@@ -1010,6 +1010,7 @@ static int smscore_load_firmware_from_file(struct smscore_device_t *coredev, | |||
1010 | const struct firmware *fw; | 1010 | const struct firmware *fw; |
1011 | 1011 | ||
1012 | char *fw_filename = smscore_get_fw_filename(coredev, mode, lookup); | 1012 | char *fw_filename = smscore_get_fw_filename(coredev, mode, lookup); |
1013 | sms_debug("Firmware name: %s\n", fw_filename); | ||
1013 | if (!strcmp(fw_filename, "none")) | 1014 | if (!strcmp(fw_filename, "none")) |
1014 | return -ENOENT; | 1015 | return -ENOENT; |
1015 | 1016 | ||