Skip to content
Commit a5ce683f authored by David Plowman's avatar David Plowman Committed by popcornmix
Browse files

media: ov5647: Fix return codes from ov5647_write/ov5647_read functions.

Previously they were returning positive non-zero codes for success,
which were getting passed up the call stack. Since release 4.19,
do_dentry_open (fs/open.c) has been catching these and flagging an
error. (So this driver has been broken since that date.)

Fixes: 3c2472a3

 [media] media: i2c: Add support for OV5647 sensor
Signed-off-by: default avatarDavid Plowman <david.plowman@raspberrypi.org>
Signed-off-by: default avatarNaushir Patuck <naush@raspberrypi.com>
parent d8f5822f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment