All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Make entity to interface links immutable
@ 2018-07-02  8:18 Hans Verkuil
  2018-07-02  9:41 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Verkuil @ 2018-07-02  8:18 UTC (permalink / raw)
  To: Linux Media Mailing List, Laurent Pinchart, Mauro Carvalho Chehab

While working on v4l2-compliance I noticed that entity to interface links
have just the MEDIA_LNK_FL_ENABLED flag set.

Shouldn't we also set the MEDIA_LNK_FL_IMMUTABLE? After all, you cannot change
an entity-interface link. It feels inconsistent not to have this flag.

I also propose that media_create_intf_link() drops the last flags argument:
it can set the link flags directly since they are always the same anyway.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-09 15:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-02  8:18 [RFC] Make entity to interface links immutable Hans Verkuil
2018-07-02  9:41 ` Mauro Carvalho Chehab
2018-07-02 10:38   ` Hans Verkuil
2018-07-02 12:24     ` Mauro Carvalho Chehab
2018-07-09 15:21   ` Shuah Khan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.