ChangeSet 1.2181.4.3, 2005/03/14 23:57:02-08:00, [EMAIL PROTECTED]

        USB: fix cpia_usb driver's warning messages in the syslog
        
        This fixes the cpia driver to call usb_kill_urb() instead of
        usb_unlink_urb() which reduces the ammount of syslog messages when
        kernel debugging is enabled.
        
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 cpia_usb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/media/video/cpia_usb.c b/drivers/media/video/cpia_usb.c
--- a/drivers/media/video/cpia_usb.c    2005-03-30 15:04:41 -08:00
+++ b/drivers/media/video/cpia_usb.c    2005-03-30 15:04:41 -08:00
@@ -440,7 +440,7 @@
 
        /* Unschedule all of the iso td's */
        if (ucpia->sbuf[1].urb) {
-               usb_unlink_urb(ucpia->sbuf[1].urb);
+               usb_kill_urb(ucpia->sbuf[1].urb);
                usb_free_urb(ucpia->sbuf[1].urb);
                ucpia->sbuf[1].urb = NULL;
        }
@@ -451,7 +451,7 @@
        }
  
        if (ucpia->sbuf[0].urb) {
-               usb_unlink_urb(ucpia->sbuf[0].urb);
+               usb_kill_urb(ucpia->sbuf[0].urb);
                usb_free_urb(ucpia->sbuf[0].urb);
                ucpia->sbuf[0].urb = NULL;
        }
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to