greybus: camera: Update configure stream based on new interface
authorGjorgji Rosikopulos <grosikopulos@mm-sol.com>
Sun, 17 Jan 2016 17:52:21 +0000 (19:52 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 17 Jan 2016 19:16:46 +0000 (11:16 -0800)
commit5b0327103ff0f5498af008cb7189770c1a33b67b
treea25aa3464b47a930518af4ac6a7ff8994c40accb
parent24ac4fa490bf105c202b843280eb67b2327c337f
greybus: camera: Update configure stream based on new interface

Interface has been changed.
return code will not return number of configured streams but
just error code.
Number of streams is passed as pointer and if operation result
is changed number of streams will be updated.

Flags are also used for information regarding configure stream
operation result.

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/camera.c