summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_users.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-11curvetun: renamed client, server, and management filesDaniel Borkmann1-0/+43
'>space:mode:
authorJacopo Mondi <jacopo.mondi@linaro.org>2016-07-15 11:03:44 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-17 10:31:21 +0900
commitd165a618a14c8871f8e14090791298e1b2ef8231 (patch)
tree829005f2d6143a7ec9c913e35e93748dee5402b2 /drivers
parent24f9a6e4942d7a8b15a1bac9a96a605a433b9478 (diff)
greybus: camera: Update Configure Streams Response
As camera specification gets updated, and Configure Stream Response payload modified, define here the new response structure. In order to not break non up-to-date camera modules, keep the existing structure and add the _deprecated suffix to it. Add the size of both new and old structure in order to discriminate dynamically which version of Camera Specification the camera module implements and translate deprecated version of configure_streams response in the new one. In order not to break camera functionalities, for testing purposes, hard-code values the APB-A CSI Tx driver still requires for proper interface configuration (lines_per_second and num_lanes) Testing Done: Preview, capture and video recording with white camera module and APB-A with legacy firmware implementations Signed-off-by: Jacopo Mondi <jacopo.mondi@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/camera.c186
-rw-r--r--drivers/staging/greybus/greybus_protocols.h17
2 files changed, 176 insertions, 27 deletions
diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c