1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/arm/tms320dm320
Tomasz Moń 663d846cf3 Sansa Connect: Disable endpoint double buffering
Disabling double buffering results in expected CPPI TX behaviour. With
the double buffering enabled, sending single ZLP resulted in two ZLPs
being available. The two ZLPs is problematic because this causes Windows
to reset USB device after failed SCSI command.

The problematic sequence on Windows 10 was as follows:
  * Host sends SCSI Mode Sense(6) Informational Exceptions Control(0x1C)
  * Device sends ZLP
  * Device sends command failed response

With endpoint double buffering enabled the ZLP was read twice by host.
As host was expecting command response on the second read (and got ZLP
instead), host attempts recovery by resetting USB device and retrying.

Change-Id: I64e95998f429ffb7b14143d956b1f29d20218d14
2021-06-12 13:54:54 +00:00
..
creative-zvm pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
dsp TMS320DM320: Disable CLOCKOUT signal to save some power. 2011-12-22 18:03:44 +00:00
mrobe-500 pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
sansa-connect Sansa Connect: Disable endpoint double buffering 2021-06-12 13:54:54 +00:00
app.lds Add KEEP() around vectors in linker scripts. 2011-12-18 06:43:08 +00:00
boot.lds Sansa Connect: Clear recoverzap parameter 2021-05-21 18:55:14 +00:00
crt0.S Sansa Connect: Clear recoverzap parameter 2021-05-21 18:55:14 +00:00
debug-dm320.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
dma-dm320.c Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
dma-target.h Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
dsp-dm320.c Sansa Connect: Set unknown GIOs to state with lowest power consumption. This slightly improves runtime. 2011-12-26 09:45:18 +00:00
dsp-target.h Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00
dsp_image_helloworld.h Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00
i2c-dm320.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
i2c-dm320.h Sansa Connect: Revise codec initialization/shutdown. 2011-12-05 09:53:23 +00:00
kernel-dm320.c Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
sdmmc-dm320.c Sansa Connect: Working USB Mass Storage 2021-06-09 20:52:36 +02:00
spi-dm320.c Fix stupid omission 2017-08-16 11:02:55 -04:00
spi-target.h Clean spi.h and spi-target.h 2012-01-07 22:04:12 +00:00
system-dm320.c Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00
system-target.h Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00
timer-dm320.c M:Robe 500: Use bit modifiers more. 2011-02-08 05:53:30 +00:00
uart-dm320.c M:Robe 500: Use bit modifiers more. 2011-02-08 05:53:30 +00:00
uart-target.h Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00