public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Various ctrl and event frame work patches (version 3)
@ 2011-11-02 10:13 Hans de Goede
  2011-11-02 10:13 ` [PATCH 1/5] v4l2-event: Deny subscribing with a type of V4L2_EVENT_ALL Hans de Goede
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Hans de Goede @ 2011-11-02 10:13 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: hverkuil, Laurent Pinchart

Hi All,

This patch set obsoletes my previous "add v4l2_subscribed_event_ops" set,
while working on adding support for ctrl-events to the uvc driver I found
a few bugs in the event code, which this patchset fixes.

Changes since version 1:
------------------------

4/5 v4l2-event: Add v4l2_subscribed_event_ops:
-Added a documentation update (update v4l2-framework.txt) to:

Changes since version 2:
------------------------

2/5 v4l2-event: Remove pending events from fh event queue:
-Simplify loop

3/5 v4l2-event: Don't set sev->fh to NULL on unsubscribe
-Remove sev->fh != NULL check from send_event
-Extend commit message with info how the old set to NULL + check code was
 actually race and why simply removing this is safe

4/5 v4l2-event: Add v4l2_subscribed_event_ops:
-Ignore queuing events for subscribed_event-s which add op has not completed
 yet


Regards,

Hans



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

end of thread, other threads:[~2011-11-02 11:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 10:13 Various ctrl and event frame work patches (version 3) Hans de Goede
2011-11-02 10:13 ` [PATCH 1/5] v4l2-event: Deny subscribing with a type of V4L2_EVENT_ALL Hans de Goede
2011-11-02 10:13 ` [PATCH 2/5] v4l2-event: Remove pending events from fh event queue when unsubscribing Hans de Goede
2011-11-02 10:22   ` Hans Verkuil
2011-11-02 10:13 ` [PATCH 3/5] v4l2-event: Don't set sev->fh to NULL on unsubscribe Hans de Goede
2011-11-02 10:25   ` Hans Verkuil
2011-11-02 10:13 ` [PATCH 4/5] v4l2-event: Add v4l2_subscribed_event_ops Hans de Goede
2011-11-02 10:31   ` Hans Verkuil
2011-11-02 10:13 ` [PATCH 5/5] v4l2-ctrls: Use v4l2_subscribed_event_ops Hans de Goede
2011-11-02 10:52 ` Various ctrl and event frame work patches (version 3) Hans de Goede
2011-11-02 11:11   ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox