greybus: fix manifest parsing problem with descriptor payload
authorMatt Porter <mporter@linaro.org>
Mon, 6 Oct 2014 13:58:44 +0000 (09:58 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 6 Oct 2014 15:57:15 +0000 (08:57 -0700)
commit7a13e2f68831cba76cb699103b27219649ca6e57
tree410eaeee9a2d9714e85577292b1cd8ae162d3b51
parente8caf9a31b90d7c596cfcd5810dbf6910f3cbcc6
greybus: fix manifest parsing problem with descriptor payload

The internal struct manifest_desc needs the data payload, rather
than the entire descriptor with header to be populated into the
data field. Also fix two places where the parser was trying to
extract the entire descriptor with header for the data payload
field.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/manifest.c