greybus: firmware: Fix incorrect firmware file's name
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Sep 2015 15:38:31 +0000 (21:08 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Sep 2015 04:52:16 +0000 (21:52 -0700)
commitc9733b78ca4734a10e1c9b7a23b44fc1736d9daa
treee4b722c70091f01428dd88fe1df06ce852455b47
parent8bcc2d80dd6aaed009bd0212cf844ef39131547a
greybus: firmware: Fix incorrect firmware file's name

All the id-fields are 32 bit long instead of 16 bits and so we will need
8 characters per field instead of four. Also the stage field is only one
byte long and so needs just two characters to represent it.

Reported-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/firmware.c