Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275369
b: refs/heads/master
c: e3e72f3
h: refs/heads/master
i:
  275367: d1707a3
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Nov 8, 2011
1 parent 59b9b03 commit 98e61bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78c87e863bb3350426fecd14912fd0a546c58ec0
refs/heads/master: e3e72f39b68ec2563d8ef22f9704a66b7f71b638
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/v4l2-ctrls.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,8 @@ static void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes)
fill_event(&ev, ctrl, changes);

list_for_each_entry(sev, &ctrl->ev_subs, node)
if (sev->fh && (sev->fh != fh ||
(sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK)))
if (sev->fh != fh ||
(sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK))
v4l2_event_queue_fh(sev->fh, &ev);
}

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/video/v4l2-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ int v4l2_event_unsubscribe(struct v4l2_fh *fh,
fh->navailable--;
}
list_del(&sev->list);
sev->fh = NULL;
}

spin_unlock_irqrestore(&fh->vdev->fh_lock, flags);
Expand Down

0 comments on commit 98e61bc

Please sign in to comment.