greybus: interpret descriptor type properly
authorAlex Elder <elder@linaro.org>
Tue, 9 Sep 2014 18:55:07 +0000 (13:55 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 9 Sep 2014 22:09:59 +0000 (15:09 -0700)
commita22e15a1fc8d46139c6ca4b17b81c14783d3f5a2
tree0f2f671a01eaafcbe6f50814037fa415b892dbad
parenta5808add9a6cae290af60bb3b4efd2c9d3208588
greybus: interpret descriptor type properly

The type field in a manifest descriptor header is in little endian
format.  Make sure we interpret it that way.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c