Skip to content
Snippets Groups Projects
  1. Jul 02, 2014
    • Stephen Warren's avatar
      usb: ci_udc: fix ci_flush_{qh,qtd} calls in ci_udc_probe() · d7beeb93
      Stephen Warren authored
      
      ci_udc_probe() initializes a pair of QHs and QTDs for each EP. After
      each pair has been initialized, the pair is cache-flushed. The
      conversion from QH/QTD index [0..2*NUM_END_POINTS) to EP index
      [0..NUM_ENDPOINTS] is incorrect; it simply subtracts 1 (which yields
      the QH/QTD index of the first entry in the pair) rather than dividing
      by two (which scales the range). Fix this.
      
      On my system, this avoids cache debug prints due to requests to flush
      unaligned ranges. This is caused because the flush calls happen before
      the items[] array entries are initialized for all but EP0.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      d7beeb93
  2. Jun 25, 2014
  3. Jun 24, 2014
  4. Jun 23, 2014
  5. Jun 21, 2014
  6. Jun 20, 2014
  7. Jun 19, 2014
Loading