This is an attempt to help Dave Stevenson to get all the fixes and improvements of the bcm2835-camera driver into mainline. Mostly i only polished the commit logs for upstream. The series based on the latest bugfix V2 of staging: bcm2835-camera: Restore return behavior of ctrl_set_bitrate(). Changes in V2: - add my own SOB - drop H264 timestamp patches (1,19 from V1) from series - addressed Dan's and Hans' comments in patch 6, 29 and 30 Dave Stevenson (29): staging: bcm2835-camera: Check the error for REPEAT_SEQ_HEADER staging: bcm2835-camera: Replace spinlock protecting context_map with mutex staging: bcm2835-camera: Do not bulk receive from service thread staging: bcm2835-camera: Correctly denote key frames in encoded data staging: bcm2835-camera: Return early on errors staging: bcm2835-camera: Remove dead email addresses staging: bcm2835-camera: Fix comment style violations. staging: bcm2835-camera: Fix spacing around operators staging: bcm2835-camera: Reduce length of enum names staging: bcm2835-camera: Fix multiple line dereference errors staging: bcm2835-camera: Fix brace style issues. staging: bcm2835-camera: Fix missing lines between items staging: bcm2835-camera: Fix open parenthesis alignment staging: bcm2835-camera: Ensure all buffers are returned on disable staging: bcm2835-camera: Remove check of the number of buffers supplied staging: bcm2835-camera: Handle empty EOS buffers whilst streaming staging: bcm2835-camera: Set sequence number correctly staging: bcm2835-camera: Add multiple inclusion protection to headers staging: bcm2835-camera: Unify header inclusion defines staging: bcm2835-camera: Fix multiple assignments should be avoided staging: bcm2835-camera: Fix up mmal-parameters.h staging: bcm2835-camera: Use enums for max value in controls staging: bcm2835-camera: Correct V4L2_CID_COLORFX_CBCR behaviour staging: bcm2835-camera: Remove/amend some obsolete comments staging: mmal-vchiq: Avoid use of bool in structures staging: bcm2835-camera: Fix stride on RGB3/BGR3 formats staging: bcm2835-camera: Add sanity checks for queue_setup/CREATE_BUFS staging: bcm2835-camera: Set the field value within each buffer staging: bcm2835-camera: Correct ctrl min/max/step/def to 64bit .../vc04_services/bcm2835-camera/bcm2835-camera.c | 366 ++++++++++++--------- .../vc04_services/bcm2835-camera/bcm2835-camera.h | 32 +- .../vc04_services/bcm2835-camera/controls.c | 184 +++++------ .../vc04_services/bcm2835-camera/mmal-common.h | 12 +- .../vc04_services/bcm2835-camera/mmal-encodings.h | 9 +- .../vc04_services/bcm2835-camera/mmal-msg-common.h | 9 +- .../vc04_services/bcm2835-camera/mmal-msg-format.h | 104 +++--- .../vc04_services/bcm2835-camera/mmal-msg-port.h | 133 ++++---- .../vc04_services/bcm2835-camera/mmal-msg.h | 150 +++++---- .../vc04_services/bcm2835-camera/mmal-parameters.h | 286 +++++++++------- .../vc04_services/bcm2835-camera/mmal-vchiq.c | 159 +++++---- .../vc04_services/bcm2835-camera/mmal-vchiq.h | 22 +- 12 files changed, 809 insertions(+), 657 deletions(-) -- 2.7.4