]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
greybus: camera: Fix size of configure_streams(0)
authorJacopo Mondi <jacopo.mondi@linaro.org>
Thu, 30 Jun 2016 14:18:00 +0000 (09:18 -0500)
committerAlex Elder <elder@linaro.org>
Wed, 6 Jul 2016 02:18:05 +0000 (21:18 -0500)
commit80b3982b8d1ca463963b9d2d406098c18add2baf
tree0e0c54c2d8c90849a4936c85b7da30b647a6126f
parent36ab1108b60eb649c7c0f0653f854afc1234cfcb
greybus: camera: Fix size of configure_streams(0)

When APB-A CSI-Tx configuration fails, it is necessary to unconfigure
the camera module issuesing a 0 stream configuration request.
Fix size of request and response to avoid Greybus core complain about
Response size differences.

Testing Done: Triggering the error condition after APB-A CSI-tx
              configuration does not make Greybus core complain anymore

Signed-off-by: Jacopo Mondi <jacopo.mondi@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/camera.c