greybus: camera: Return the result flags from the configure_streams response
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 14 Jan 2016 23:33:55 +0000 (01:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 15 Jan 2016 00:53:10 +0000 (16:53 -0800)
commit4068487ce3dba22bdc7bf34e7327b474494430b5
tree70697a46dca9b2e92c5724f87edd131bca81c070
parent83ec628386aee5e14fe1be3e27e84124dfa7b165
greybus: camera: Return the result flags from the configure_streams response

And return the response num_streams field through a pointer variable
instead of using the return value of the function as both an error code
and a positive number of streams, it makes the API more consistent.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c