]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: update string descriptor length field to __u8 type to match spec
authorMatt Porter <mporter@linaro.org>
Sat, 27 Sep 2014 01:49:51 +0000 (20:49 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 30 Sep 2014 00:57:33 +0000 (17:57 -0700)
commitcbd0fd7b9b6fd5c6d9f13f021a17a072e9d33147
tree3844199fe3d6a764c5b507a269858f90ef3770a1
parent097724c2fb203d1bfa0853ddf73c3a5df030ab05
greybus: update string descriptor length field to __u8 type to match spec

Greybus spec was updated to make the length field a single byte. Update
the type and remove endian handling of that field in the core.

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