aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_wpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_wpf.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_wpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c b/drivers/media/platform/vsp1/vsp1_wpf.c
index 6e057762c933..b1089d05583a 100644
--- a/drivers/media/platform/vsp1/vsp1_wpf.c
+++ b/drivers/media/platform/vsp1/vsp1_wpf.c
@@ -280,7 +280,7 @@ struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index)
280 * except for the WPF0 source link if a LIF is present. 280 * except for the WPF0 source link if a LIF is present.
281 */ 281 */
282 flags = MEDIA_LNK_FL_ENABLED; 282 flags = MEDIA_LNK_FL_ENABLED;
283 if (!(vsp1->pdata->features & VSP1_HAS_LIF) || index != 0) 283 if (!(vsp1->pdata.features & VSP1_HAS_LIF) || index != 0)
284 flags |= MEDIA_LNK_FL_IMMUTABLE; 284 flags |= MEDIA_LNK_FL_IMMUTABLE;
285 285
286 ret = media_entity_create_link(&wpf->entity.subdev.entity, 286 ret = media_entity_create_link(&wpf->entity.subdev.entity,