-
Jeffrey Lee authored
Detail: c/dwc_otg_riscos - Round all IO buffers out to a multiple of 512 bytes. This is a workaround for the way dwc_otg_hc_start_transfer rounds IN transfer request sizes up to a multiple of the max packet size (due to hardware limitations?). Without this workaround, we can easily get memory corruption if a device sends a short packet which is longer than we're expecting. Admin: Tested on Raspberry Pi Believed to fix crashes seen when using some keyboards/mice: https://www.riscosopen.org/forum/forums/4/topics/2383?page=3#posts-33881 Version 0.17. Tagged as 'DWCDriver-0_17'
ef249dac