Alex Elder 9a6f6314d1 greybus: use alloc_gbuf_data() for both directions
Change the "direction" flag field of a gbuf to be a Boolean called
"outbound".

Add a Boolean outbound flag to alloc_gbuf_data(), and use it for
allocating the data buffer for gbufs for data being transferred in
either direction.

Update free_gbuf_data() accordingly--letting the host device
driver's gbuf data free function handle all of them.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2014-10-06 08:56:43 -07:00
..
2014-10-06 08:56:42 -07:00
2014-09-22 17:32:08 -07:00
2014-10-02 21:17:20 -07:00
2014-10-02 21:22:04 -07:00
2014-10-02 21:17:20 -07:00
2014-10-03 19:00:10 -07:00
2014-10-03 19:00:10 -07:00
2014-08-11 15:29:23 +08:00
2014-10-02 21:22:45 -07:00
2014-10-03 19:00:10 -07:00
2014-10-02 21:22:04 -07:00
2014-10-02 21:22:04 -07:00
2014-10-02 21:17:20 -07:00
2014-09-30 18:22:27 -07:00
2014-10-02 21:22:04 -07:00
2014-10-02 21:17:20 -07:00

Greybus kernel code

To build against the running kernel (odds are you don't want this):
	make

To build against a specific kernel source tree (odds are you want this):
	KERNELDIR=/home/some/random/place make

Any questions / concerns about this code base, please email:
	Greg Kroah-Hartman <greg@kroah.com>