From: Mauro Carvalho Chehab Date: Thu, 7 Mar 2013 09:54:14 +0000 (-0300) Subject: [media] siano: report the choosed firmware in debug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab7bdb12984732e5ebac00d6a180431cbd4e0ce1;p=openwrt%2Fstaging%2Fblogic.git [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 --- 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, 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;