USB: g_file_storage: automatically disable stalls under Atmel
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Feb 2009 21:19:47 +0000 (16:19 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 22:40:50 +0000 (14:40 -0800)
commitce459ec1d278b19be8e0719dbfd47dd1d6687bfb
treec9e32a817372e53656f45aefe9470ce1c329e681
parent5126a2674ddac0804450f59da25a058cca629d38
USB: g_file_storage: automatically disable stalls under Atmel

This patch (as1220) automatically disables stalls when g_file_storage
finds itself running with an Atmel device controller, because the
Atmel hardware/driver isn't capable of halting bulk endpoints
correctly.

Reported-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c