diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-07-14 12:55:29 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 08:08:32 +0200 |
commit | ac8284569e9746c474102aaa1618c40b225a698d (patch) | |
tree | ab8848441f1c494d3b4e4a57ecc40b50bf3efa16 /lib/sbitmap.c | |
parent | 3d81099c75a685d0e72cac58b96cc39a6784ff54 (diff) |
media: atomisp: Fix error code in ov5693_probe()
If gmin_camera_platform_data() returns NULL then we should return a
negative error instead of success.
Fixes: 90ebe55ab886 ("media: staging: atomisp: Add driver prefix to Kconfig option and module names")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions