projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f90b0
)
media: i2c: ov5647: Use v4l2_async_register_subdev_sensor for lens binding
author
Dave Stevenson
<dave.stevenson@raspberrypi.com>
Wed, 16 Mar 2022 12:15:41 +0000
(12:15 +0000)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:19 +0000
(11:33 +0000)
v4l2_async_register_subdev doesn't bind in lens or flash drivers,
but v4l2_async_register_subdev_sensor does.
Switch to using v4l2_async_register_subdev_sensor.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/ov5647.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/ov5647.c
b/drivers/media/i2c/ov5647.c
index
f3d27c6
..
3f89974
100644
(file)
--- a/
drivers/media/i2c/ov5647.c
+++ b/
drivers/media/i2c/ov5647.c
@@
-1575,7
+1575,7
@@
static int ov5647_probe(struct i2c_client *client)
if (ret < 0)
goto power_off;
- ret = v4l2_async_register_subdev(sd);
+ ret = v4l2_async_register_subdev
_sensor
(sd);
if (ret < 0)
goto power_off;