1. 03 10月, 2014 1 次提交
  2. 14 9月, 2014 2 次提交
  3. 25 4月, 2014 2 次提交
  4. 31 12月, 2013 1 次提交
  5. 30 12月, 2013 1 次提交
  6. 21 9月, 2011 1 次提交
    • H
      spi: spi-dw: fix all sparse warnings · 7eb187b3
      H Hartley Sweeten 提交于
      The dw_{read,write}[lw] macros produce sparse warnings everytime they
      are used.  The "read" ones cause:
      
      warning: cast removes address space of expression
      warning: incorrect type in argument 1 (different address spaces)
         expected void const volatile [noderef] <asn:2>*addr
         got unsigned int *<noident>
      
      And the "write" ones:
      
      warning: cast removes address space of expression
      warning: incorrect type in argument 2 (different address spaces)
         expected void volatile [noderef] <asn:2>*addr
         got unsigned int *<noident>
      
      Fix this by removing struct dw_spi_reg and converting all the register
      offsets to #defines. Then convert the macros into inlined functions so
      that proper type checking can occur.
      
      While here, also fix the three sparse warnings in spi-dw-mid.c due to
      the return value of ioremap_nocache being stored in a u32 * not a
      void __iomem *.
      
      With these changes the spi-dw* files all build with no sparse warnings.
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Acked-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      7eb187b3
  7. 09 7月, 2011 1 次提交
  8. 06 6月, 2011 1 次提交
  9. 31 3月, 2011 2 次提交
  10. 19 3月, 2011 1 次提交
    • G
      spi/dw_spi: move dw_spi.h into drivers/spi · 568a60ed
      Grant Likely 提交于
      include/linux/dw_spi.h only includes driver internal data.  It doesn't
      expose a platform_data configuration structure or similar (at least
      nothing in-tree).  This patch moves the header into drivers/spi so
      that the scope is limited to only the dw_spi_*.c driver files
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Feng Tang <feng.tang@intel.com>
      Cc: spi-devel-general@lists.sourceforge.net
      568a60ed
  11. 18 3月, 2011 1 次提交
    • J
      spi/dw_spi: Fix missing header · 46165a3d
      Jiri Slaby 提交于
      Currently, build on PPC dies with:
      In file included from drivers/spi/dw_spi_mmio.c:16:
      include/linux/spi/dw_spi.h:147: error: field ‘tx_sgl’ has incomplete type
      include/linux/spi/dw_spi.h:149: error: field ‘rx_sgl’ has incomplete type
      
      Add linux/scatterlist.h include to dw_spi.h, because we need to know
      the contents of the structure.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      46165a3d
  12. 24 12月, 2010 1 次提交
  13. 09 9月, 2010 1 次提交
  14. 21 1月, 2010 2 次提交
  15. 17 12月, 2009 1 次提交