greybus: host: provide "generic" apbridge output calls
commited4596e9b19104ccc1e87bde8fcadee3a473c101
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 23 Dec 2015 02:21:51 +0000 (22 18:21 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 12 Jan 2016 19:11:49 +0000 (12 11:11 -0800)
tree9d2467879c261da5e43c2b90da3d0620757ba60e
parentaccad1ba7d62543ab3bcf08813726ea87d237bb6
greybus: host: provide "generic" apbridge output calls

Provide a new function, gb_hd_output() to send data to the apbridge.
This is useful for the camera and audio drivers that need to do this
type of messaging.

The camera driver is converted to use this new function, the audio
driver can use it when it gets merged later.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Tested-by: Mark Greer <mgreer@animalcreek.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/camera.c
drivers/staging/greybus/es2.c
drivers/staging/greybus/es2.h [deleted file]
drivers/staging/greybus/hd.c
drivers/staging/greybus/hd.h