greybus: gbuf: implement gbuf_kill_gbuf()
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 27 Oct 2014 05:31:01 +0000 (13:31 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 27 Oct 2014 05:45:24 +0000 (13:45 +0800)
commitd81448849a6a919bdc6366b44a7664f817c94d84
treebd952cd77e5b375fc493dbf02cc584a454e01e42
parentd4c8247b56a3c3f9c8c879189338d2fa13a281a0
greybus: gbuf: implement gbuf_kill_gbuf()

Hook up gbuf_kill_gbuf() by implementing yet-another-host-controller
callback and a gbuf-specific pointer to hold the tracking data the hcd
needs in order to be able to abort a transfer.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/es1-ap-usb.c
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/greybus.h