diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-13 14:07:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 09:26:04 +0200 |
commit | ca4e4efbefbbdde0a7bb3023ea08d491f4daf9b9 (patch) | |
tree | 251d14eb17aa529a3d4470183f16fb0b0b17848b /drivers/macintosh | |
parent | a67fedd788182764dc8ed59037c604b7e60349f1 (diff) |
Staging: vc04_services: Fix a couple error codes
These are accidentally returning positive EINVAL instead of negative
-EINVAL. Some of the callers treat positive values as success.
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions