staging: mmal-vchiq: Make a mmal_buf struct for passing parameters
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Mon, 24 Sep 2018 16:33:37 +0000 (17:33 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:13 +0000 (00:08 +0100)
commit2e8b14660012475b087b977e419f8d4667751333
treedbeda023e3150362e47323ffc576222396f5211d
parent9b22338bd8e3ec70227575c02a0b0f0b681b880c
staging: mmal-vchiq: Make a mmal_buf struct for passing parameters

The callback from vchi_mmal to the client was growing lots of extra
parameters. Consolidate them into a single struct instead of
growing the list further.
The struct is associated with the client buffer, therefore there
are various changes to setup various containers for the struct,
and pass the appropriate members.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
drivers/staging/vc04_services/vchiq-mmal/mmal-common.h
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h