mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: i2c: rk_ircut: add entity flags to distinguish vcm and ircut
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: Iae2c60b8b904fdb574baf046c73d2058d1572f9a
This commit is contained in:
@@ -328,6 +328,7 @@ static int ircut_probe(struct platform_device *pdev)
|
||||
|
||||
sd = &ircut->sd;
|
||||
sd->entity.function = MEDIA_ENT_F_LENS;
|
||||
sd->entity.flags = 1;
|
||||
|
||||
memset(facing, 0, sizeof(facing));
|
||||
if (strcmp(ircut->module_facing, "back") == 0)
|
||||
|
||||
Reference in New Issue
Block a user