From: Anton Vorontsov Date: Thu, 25 Dec 2008 14:15:11 +0000 (+0300) Subject: USB: fsl_qe_udc: Fix muram corruption by disabled endpoints X-Git-Tag: v2.6.29-rc5~45^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82341b3690fce8f70998e3cfb79fbffff0eb7e6b;p=pandora-kernel.git USB: fsl_qe_udc: Fix muram corruption by disabled endpoints Before freeing an endpoint's muram memory, we should stop all activity of the endpoint, otherwise the QE UDC controller might do nasty things with the muram memory that isn't belong to that endpoint anymore. The qe_ep_reset() effectively flushes the hardware fifos, finishes all late transaction and thus prevents the corruption. Signed-off-by: Anton Vorontsov Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed