1. 04 10月, 2006 3 次提交
  2. 01 10月, 2006 2 次提交
  3. 30 9月, 2006 1 次提交
  4. 28 9月, 2006 1 次提交
  5. 27 9月, 2006 26 次提交
  6. 25 9月, 2006 3 次提交
  7. 27 8月, 2006 1 次提交
  8. 06 8月, 2006 1 次提交
    • D
      [PATCH] SCX200_ACB: eliminate spurious timeout errors · 3e3183ba
      David Woodhouse 提交于
      While busy-waiting for completion, check the hardware after scheduling;
      don't schedule and then immediately check the _timeout_.  If the yield()
      took a long time (as it does on my OLPC prototype board when it's busy),
      we'd report a timeout even though the hardware was now ready.
      
      This fixes it, and also switches the yield() for a cond_resched() because
      we don't actually want to be _that_ nice about it.  I see nice
      tightly-packed SMBus transactions now, rather than waiting for milliseconds
      between successive phases.
      
      Actually, we shouldn't be busy-waiting here at all.  We should be using
      interrupts.  That's an exercise for another day though.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Cc: Christer Weinigel <wingel@nano-system.com>
      Cc: <Jordan.Crouse@amd.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e3183ba
  9. 31 7月, 2006 1 次提交
  10. 13 7月, 2006 1 次提交