Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118698
b: refs/heads/master
c: a24ddee
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Nov 11, 2008
1 parent 4ec31da commit 9354a78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 69df96c3dad0704301cdbd665636d8184fb314c6
refs/heads/master: a24ddee36ca10a90451552e6620ff7c4ff7e44b5
12 changes: 6 additions & 6 deletions trunk/drivers/media/video/usbvideo/ibmcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -3695,7 +3695,7 @@ static int ibmcam_probe(struct usb_interface *intf, const struct usb_device_id *
unsigned char video_ep = 0;

if (debug >= 1)
dev_info(&uvd->dev->dev, "ibmcam_probe(%p,%u.)\n", intf, ifnum);
dev_info(&dev->dev, "ibmcam_probe(%p,%u.)\n", intf, ifnum);

/* We don't handle multi-config cameras */
if (dev->descriptor.bNumConfigurations != 1)
Expand Down Expand Up @@ -3746,15 +3746,15 @@ static int ibmcam_probe(struct usb_interface *intf, const struct usb_device_id *
brand = "IBM PC Camera"; /* a.k.a. Xirlink C-It */
break;
}
dev_info(&uvd->dev->dev,
dev_info(&dev->dev,
"%s USB camera found (model %d, rev. 0x%04x)\n",
brand, model, le16_to_cpu(dev->descriptor.bcdDevice));
} while (0);

/* Validate found interface: must have one ISO endpoint */
nas = intf->num_altsetting;
if (debug > 0)
dev_info(&uvd->dev->dev, "Number of alternate settings=%d.\n",
dev_info(&dev->dev, "Number of alternate settings=%d.\n",
nas);
if (nas < 2) {
err("Too few alternate settings for this camera!");
Expand Down Expand Up @@ -3799,7 +3799,7 @@ static int ibmcam_probe(struct usb_interface *intf, const struct usb_device_id *
actInterface = i;
maxPS = le16_to_cpu(endpoint->wMaxPacketSize);
if (debug > 0)
dev_info(&uvd->dev->dev,
dev_info(&dev->dev,
"Active setting=%d. "
"maxPS=%d.\n", i, maxPS);
} else
Expand Down Expand Up @@ -3840,7 +3840,7 @@ static int ibmcam_probe(struct usb_interface *intf, const struct usb_device_id *
RESTRICT_TO_RANGE(framerate, 0, 5);
break;
default:
dev_info(&uvd->dev->dev, "IBM camera: using 320x240\n");
dev_info(&dev->dev, "IBM camera: using 320x240\n");
size = SIZE_320x240;
/* No break here */
case SIZE_320x240:
Expand Down Expand Up @@ -3869,7 +3869,7 @@ static int ibmcam_probe(struct usb_interface *intf, const struct usb_device_id *
canvasY = 120;
break;
default:
dev_info(&uvd->dev->dev, "IBM NetCamera: using 176x144\n");
dev_info(&dev->dev, "IBM NetCamera: using 176x144\n");
size = SIZE_176x144;
/* No break here */
case SIZE_176x144:
Expand Down

0 comments on commit 9354a78

Please sign in to comment.