1. 24 Aug, 2007 3 commits
    • David Brownell's avatar
      <linux/usb/musb.h> tusb6010 timings · 8491be31
      David Brownell authored
      This might explain how some timing errors show on H4 not N800 (common
      bug, being masked by this one), but that would surprise me a bit.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      8491be31
    • David Brownell's avatar
      musb_hdrc: Cannot stall an endpoint 0 control transfer from a data stage cal lback function · 5dd8c56c
      David Brownell authored
      Gadget drivers are supposed to be able to cause EP0 protocol stalls by
      issuing an appropriate request from the callback issued when the DATA
      stage completes ... not only from the setup() callback or from some
      thread that decides how to handle the request.
      
      This fix is based on a patch from Geoffrey Tam <geoffrey@evertz.com>,
      and addresses that by updating the endpoint state AFTER the callback
      is issued, providing the correct IRQ-acking CSR to the halt() so it
      can just mask in the SEND_STALL bit, and ensuring that only the CSR
      is still written only once even on this new code path.
      
      Also includes a few small cleanups:  avoid "this" variable name, and
      pack device bitfields more efficiently (wasting less space).
      
      Allegedly helps file_storage on Davinci.
      5dd8c56c
    • Tony Lindgren's avatar
      musb_hdrc: Make tusb do a_idle, make OPT A tests more reliable · 5523992f
      Tony Lindgren authored
      This patch makes tusb go to a_idle state when ID is grounded.
      Also make OPT A tests work more reliably by not allowing less
      than 2 s VBUS timeouts for a_wait_vrise.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5523992f
  2. 23 Aug, 2007 1 commit
  3. 22 Aug, 2007 36 commits