Skip to content

Commit

Permalink
[media] siano: report the choosed firmware in debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 018b0c6 commit ab7bdb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/common/siano/smscoreapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ab7bdb1

Please sign in to comment.