diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-07-14 11:26:54 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 21:43:05 +0200 |
commit | c4dc692ce6212f4513c39dfcde725aab438a2940 (patch) | |
tree | 2a02b051a5d899b344446dbade54f067cc34672b /drivers/media | |
parent | V4L/DVB: gspca - main: Remove useless audio ioctl's (diff) | |
download | linux-c4dc692ce6212f4513c39dfcde725aab438a2940.tar.xz linux-c4dc692ce6212f4513c39dfcde725aab438a2940.zip |
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')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 10 |
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, buffer_len = le16_to_cpu(ep->wMaxPacketSize); interval = ep->bInterval; - PDEBUG(D_PROBE, "found int in endpoint: 0x%x, " + PDEBUG(D_CONF, "found int in endpoint: 0x%x, " "buffer_len=%u, interval=%u", ep->bEndpointAddress, buffer_len, interval); @@ -226,7 +226,7 @@ static int alloc_and_submit_int_urb(struct gspca_dev *gspca_dev, gspca_dev->int_urb = urb; ret = usb_submit_urb(urb, GFP_KERNEL); if (ret < 0) { - PDEBUG(D_ERR, "submit URB failed with error %i", ret); + PDEBUG(D_ERR, "submit int URB failed with error %i", ret); goto error_submit; } return ret; @@ -2216,12 +2216,8 @@ int gspca_dev_probe(struct usb_interface *intf, /* the USB video interface must be the first one */ if (dev->config->desc.bNumInterfaces != 1 - && intf->cur_altsetting->desc.bInterfaceNumber != 0) { - PDEBUG(D_ERR, "%04x:%04x bad interface %d", - id->idVendor, id->idProduct, - intf->cur_altsetting->desc.bInterfaceNumber); + && intf->cur_altsetting->desc.bInterfaceNumber != 0) return -ENODEV; - } return gspca_dev_probe2(intf, id, sd_desc, dev_size, module); } |