greybus: bootrom: Enhance timeout error message
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 22 Jun 2016 09:16:39 +0000 (14:46 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 24 Jun 2016 23:03:28 +0000 (16:03 -0700)
commita4293e1d4e6416477976ee3bd248589d3fc4bb19
treec4e343f6b24f027d718944df11a9ed9f86c4aa53
parentfd6d6f61d83c8217a052ba494f5b44abcec7ff43
greybus: bootrom: Enhance timeout error message

The timeout message is very generic today and there are several requests
we can be timing out waiting for.

Update bootrom driver to also track the next expected request and
enhance the error message based on that to confirm the request we timed
out waiting for.

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