bcm2835-camera: Correct port_parameter_get return value
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 15 Mar 2017 11:12:40 +0000 (11:12 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:50:05 +0000 (15:50 +0100)
commitae01f15ca9a851088ccf44d50b0d149f14ee0177
tree1cd8074262698318241666be08a5dbc9da60500c
parent451aa66eaeb76966a15f05d5ef96616120726476
bcm2835-camera: Correct port_parameter_get return value

The API for port_parameter_get() requires that the
filled length is returned, or if insufficient space
that the required space is returned.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/media/platform/bcm2835/mmal-vchiq.c