1. 10 3月, 2015 5 次提交
  2. 07 3月, 2015 5 次提交
  3. 06 3月, 2015 1 次提交
  4. 26 2月, 2015 1 次提交
    • A
      spi: dw: revisit FIFO size detection again · 9d239d35
      Andy Shevchenko 提交于
      The commit d297933c (spi: dw: Fix detecting FIFO depth) tries to fix the
      logic of the FIFO detection based on the description on the comments. However,
      there is a slight difference between numbers in TX Level and TX FIFO size.
      
      So, by specification the FIFO size would be in a range 2-256 bytes. From TX
      Level prospective it means we can set threshold in the range 0-(FIFO size - 1)
      bytes. Hence there are currently two issues:
        a) FIFO size 2 bytes is actually skipped since TX Level is 1 bit and could be
           either 0 or 1 byte;
        b) FIFO size is incorrectly decreased by 1 which already done by meaning of
           TX Level register.
      
      This patch fixes it eventually right.
      
      Fixes: d297933c (spi: dw: Fix detecting FIFO depth)
      Reviewed-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: stable@vger.kernel.org
      9d239d35
  5. 24 2月, 2015 5 次提交
  6. 21 2月, 2015 3 次提交
  7. 20 2月, 2015 20 次提交