greybus: camera: Add support for configure streams flag in gb interface
authorGjorgji Rosikopulos <grosikopulos@mm-sol.com>
Sun, 17 Jan 2016 17:52:20 +0000 (19:52 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 17 Jan 2016 19:16:46 +0000 (11:16 -0800)
commit24ac4fa490bf105c202b843280eb67b2327c337f
tree57de922f639ea33e71abacf604885c53d68dfa63
parentb29906af20cf74bda2ec702626a26dc4501866ef
greybus: camera: Add support for configure streams flag in gb interface

Update gb interface and export flags needed for latest
protocol version. Number of streams also can be changed
based on operation result.
Caller sets input flags, end fucntion return output
flags

Input flags supported:
- GB_CAMERA_IN_FLAG_TEST - Need to be set when operation
is not actually applied.

Output flags supported:
- GB_CAMERA_OUT_FLAG_ADJUSTED - This is result of the operation
if this flag is set, result is adjusted and operation
need to be repeat.

Signed-off-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Acked-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/gb-camera.h