projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b3e31
)
[media] smiapp: Set device for pixel array and binner
author
Sakari Ailus
<
[email protected]
>
Tue, 13 Sep 2016 22:16:32 +0000
(19:16 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 21 Oct 2016 17:34:37 +0000
(15:34 -0200)
The dev field of the v4l2_subdev was left NULL for the pixel array and
binner sub-devices. Fix this.
Signed-off-by: Sakari Ailus <
[email protected]
>
Reviewed-by: Sebastian Reichel <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/smiapp/smiapp-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/smiapp/smiapp-core.c
b/drivers/media/i2c/smiapp/smiapp-core.c
index 1891c28ca6a461f676b57815a45d23f06b126fcf..3ea4f12ecee210c51b9ce9bf7e3cd158eedda5a2 100644
(file)
--- a/
drivers/media/i2c/smiapp/smiapp-core.c
+++ b/
drivers/media/i2c/smiapp/smiapp-core.c
@@
-2610,6
+2610,7
@@
static void smiapp_create_subdev(struct smiapp_sensor *sensor,
ssd->sd.internal_ops = &smiapp_internal_ops;
ssd->sd.owner = THIS_MODULE;
+ ssd->sd.dev = &client->dev;
v4l2_set_subdevdata(&ssd->sd, client);
}