]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: serial: add special case for processing of empty read urbs
authorJohan Hovold <jhovold@gmail.com>
Sat, 15 May 2010 15:53:44 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:48 +0000 (13:21 -0700)
commit56a1df46c19150db0a9b0f0c14e0b1d42e7f32d4
treea46afa9a17f75a420599ecb85d194d68e3136dbf
parentc0f631d1948658b27349545b2cbcb4b32f010c7a
USB: serial: add special case for processing of empty read urbs

Return immediately from generic process_read_urb if urb is empty.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c