linux-stable/drivers/staging/vc04_services/vchiq-mmal
Dave Stevenson 7c71d489bd staging: mmal-vchiq: If the VPU returns an error, don't negate it
There is an enum for the errors that the VPU can return.
port_parameter_get was negating that value, but also using -EINVAL
from the Linux error codes.
Pass the VPU error code as positive values. Should the function
need to pass a Linux failure, then return that as negative.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-7-nsaenzjulienne@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-01 15:45:23 +02:00
..
Kconfig
Makefile
mmal-common.h staging: mmal-vchiq: Make a mmal_buf struct for passing parameters 2020-07-01 15:45:22 +02:00
mmal-encodings.h
mmal-msg-common.h
mmal-msg-format.h
mmal-msg-port.h
mmal-msg.h staging: mmal-vchiq: Fixup vchiq-mmal include ordering 2020-07-01 15:45:22 +02:00
mmal-parameters.h
mmal-vchiq.c staging: mmal-vchiq: If the VPU returns an error, don't negate it 2020-07-01 15:45:23 +02:00
mmal-vchiq.h staging: mmal-vchiq: Fix client_component for 64 bit kernel 2020-07-01 15:45:22 +02:00