]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cypress_m8: use usb_fill_int_urb where appropriate
authorMike Isely <isely@pobox.com>
Wed, 30 Aug 2006 03:07:04 +0000 (22:07 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:58 +0000 (11:58 -0700)
commit9aa8dae7b1fa7af099a403fc3766e068a0ea6d68
tree83976cac5a3ee6277a8d0fdcdd76d1e29576fbc1
parent0257fa9ffe4f0287a9d90476bb733cfc2272396e
cypress_m8: use usb_fill_int_urb where appropriate

Rather than directly filling in URB fields, it's safer to use
usb_fill_int_urb().  This improves robustness of the driver; URB
changes in the future will not go uninitialized here.  That point not
withstanding, this driver should at least be self-consistent.  Either
use usb_fill_int_urb() everywhere or don't bother with it all.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cypress_m8.c