aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-07-14 05:26:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 15:43:05 -0400
commitc4dc692ce6212f4513c39dfcde725aab438a2940 (patch)
tree2a02b051a5d899b344446dbade54f067cc34672b /drivers/media/video
parenta4f96eb2b1d3e0013da7b82b3d3ccd361c3b46b9 (diff)
V4L/DVB: gspca - main: Adjust and remove some debug messages
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/gspca/gspca.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 98c6bdd14455..29b047942826 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -201,7 +201,7 @@ static int alloc_and_submit_int_urb(struct gspca_dev *gspca_dev,
201 201
202 buffer_len = le16_to_cpu(ep->wMaxPacketSize); 202 buffer_len = le16_to_cpu(ep->wMaxPacketSize);
203 interval = ep->bInterval; 203 interval = ep->bInterval;
204 PDEBUG(D_PROBE, "found int in endpoint: 0x%x, " 204 PDEBUG(D_CONF, "found int in endpoint: 0x%x, "
205 "buffer_len=%u, interval=%u", 205 "buffer_len=%u, interval=%u",
206 ep->bEndpointAddress, buffer_len, interval); 206 ep->bEndpointAddress, buffer_len, interval);
207 207
@@ -226,7 +226,7 @@ static int alloc_and_submit_int_urb(struct gspca_dev *gspca_dev,
226 gspca_dev->int_urb = urb; 226 gspca_dev->int_urb = urb;
227 ret = usb_submit_urb(urb, GFP_KERNEL); 227 ret = usb_submit_urb(urb, GFP_KERNEL);
228 if (ret < 0) { 228 if (ret < 0) {
229 PDEBUG(D_ERR, "submit URB failed with error %i", ret); 229 PDEBUG(D_ERR, "submit int URB failed with error %i", ret);
230 goto error_submit; 230 goto error_submit;
231 } 231 }
232 return ret; 232 return ret;
@@ -2216,12 +2216,8 @@ int gspca_dev_probe(struct usb_interface *intf,
2216 2216
2217 /* the USB video interface must be the first one */ 2217 /* the USB video interface must be the first one */
2218 if (dev->config->desc.bNumInterfaces != 1 2218 if (dev->config->desc.bNumInterfaces != 1
2219 && intf->cur_altsetting->desc.bInterfaceNumber != 0) { 2219 && intf->cur_altsetting->desc.bInterfaceNumber != 0)
2220 PDEBUG(D_ERR, "%04x:%04x bad interface %d",
2221 id->idVendor, id->idProduct,
2222 intf->cur_altsetting->desc.bInterfaceNumber);
2223 return -ENODEV; 2220 return -ENODEV;
2224 }
2225 2221
2226 return gspca_dev_probe2(intf, id, sd_desc, dev_size, module); 2222 return gspca_dev_probe2(intf, id, sd_desc, dev_size, module);
2227} 2223}