Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202110
b: refs/heads/master
c: 37b58bf
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 4d72269 commit 344f9b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 6efb870a115ac223ab578bc76699ba8591250568
refs/heads/master: 37b58bfe4bb3df303aa9d7f1ccdbfc477b42c5e2
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/ivtv/ivtvfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ static int __init ivtvfb_callback_init(struct device *dev, void *p)
struct v4l2_device *v4l2_dev = dev_get_drvdata(dev);
struct ivtv *itv = container_of(v4l2_dev, struct ivtv, v4l2_dev);

if (itv && (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT)) {
if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) {
if (ivtvfb_init_card(itv) == 0) {
IVTVFB_INFO("Framebuffer registered on %s\n",
itv->v4l2_dev.name);
Expand All @@ -1255,7 +1255,7 @@ static int ivtvfb_callback_cleanup(struct device *dev, void *p)
struct ivtv *itv = container_of(v4l2_dev, struct ivtv, v4l2_dev);
struct osd_info *oi = itv->osd_info;

if (itv && (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT)) {
if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) {
if (unregister_framebuffer(&itv->osd_info->ivtvfb_info)) {
IVTVFB_WARN("Framebuffer %d is in use, cannot unload\n",
itv->instance);
Expand Down

0 comments on commit 344f9b4

Please sign in to comment.