aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/firmware.c
diff options
context:
space:
mode:
authorGravatar Viresh Kumar <viresh.kumar@linaro.org> 2015-09-09 21:08:32 +0530
committerGravatar Greg Kroah-Hartman <gregkh@google.com> 2015-09-14 21:52:16 -0700
commit1a8862863a7171e8b97fe8833bb3a78770a8aaee (patch)
tree57adad2b56578660e09e01ebd3842579bb3321ac /drivers/staging/greybus/firmware.c
parentgreybus: firmware: Fix incorrect firmware file's name (diff)
downloadlinux-1a8862863a7171e8b97fe8833bb3a78770a8aaee.tar.gz
linux-1a8862863a7171e8b97fe8833bb3a78770a8aaee.tar.bz2
linux-1a8862863a7171e8b97fe8833bb3a78770a8aaee.zip
greybus: firmware: firmware image name has .tftf instead of .fw
That's how the bootrom-tool names it, and that's how the kernel should expect it. Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/firmware.c')
-rw-r--r--drivers/staging/greybus/firmware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/firmware.c b/drivers/staging/greybus/firmware.c
index b8f33e7bce55..fdd5e0cc9ebc 100644
--- a/drivers/staging/greybus/firmware.c
+++ b/drivers/staging/greybus/firmware.c
@@ -27,7 +27,7 @@ static int download_firmware(struct gb_firmware *firmware, u8 stage)
{
struct gb_connection *connection = firmware->connection;
struct gb_interface *intf = connection->bundle->intf;
- char firmware_name[46];
+ char firmware_name[48];
/* Already have a firmware, free it */
if (firmware->fw)
@@ -39,7 +39,7 @@ static int download_firmware(struct gb_firmware *firmware, u8 stage)
* XXX Name it properly..
*/
snprintf(firmware_name, sizeof(firmware_name),
- "ara:%08x:%08x:%08x:%08x:%02x.fw",
+ "ara:%08x:%08x:%08x:%08x:%02x.tftf",
intf->unipro_mfg_id, intf->unipro_prod_id,
intf->ara_vend_id, intf->ara_prod_id, stage);