greybus: spi: add rdwr field to transfer descriptor
authorRui Miguel Silva <rui.silva@linaro.org>
Wed, 2 Dec 2015 11:12:27 +0000 (11:12 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 3 Dec 2015 01:04:58 +0000 (17:04 -0800)
commitb455c84655d5bdfc5157d2100279e3ff2454b596
tree88ca8d32b1202c79400a9eb06569e9f61424f33b
parent3e48acac26c8b5321ff5b752c8650e1cf4d04344
greybus: spi: add rdwr field to transfer descriptor

Add read and/or write field to transfer descriptor to make it possible
to identify the type of transfer.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/spi.c