tools: ffs-aio-example: fix header values endianess
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 25 Jun 2014 06:26:47 +0000 (08:26 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:53:27 +0000 (12:53 -0500)
commitd2999e1b10fb740371a896b33fa1e6d89669ffba
tree7bc4c16df988c566134004c3d2bea6594d8c2ec1
parent2eeb0016c1242f275f9ebacc687ab639689f8bad
tools: ffs-aio-example: fix header values endianess

We wrap numeric values of fs_count and hs_count fields in htole32,
because they should be in little-endian format.

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
tools/usb/ffs-aio-example/simple/device_app/aio_simple.c