USB: fsl_usb2_udc: fix potential queue head corruption
authorLi Yang <leoli@freescale.com>
Fri, 13 Feb 2009 08:14:39 +0000 (16:14 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 22:40:50 +0000 (14:40 -0800)
commit9a6e184c804b33a2c2ea974efcd3c9798d30cb39
treee25af5858e2c2b19c969d14675d64006cdba2030
parent64e71303e44f3697e4568147caa966de74bdb4fb
USB: fsl_usb2_udc: fix potential queue head corruption

Clear next TD field and status field in queue head initialization code
to prevent unpredictable result caused by residue of usb reset.

Signed-off-by: Li Yang <leoli@freescale.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_usb2_udc.c