1. 17 10月, 2012 1 次提交
    • A
      spi/s3c64xx: use correct dma_transfer_direction type · c10356b9
      Arnd Bergmann 提交于
      There is a subtle difference between dma_transfer_direction and
      dma_data_direction: the former is used by the dmaengine framework,
      while the latter is used by the dma-mapping API. Although the
      purpose is comparable, the actual values are different and must
      not be mixed. In this case, the driver just wants to use
      dma_transfer_direction.
      
      Without this patch, building s3c6400_defconfig results in:
      
      drivers/spi/spi-s3c64xx.c: In function 's3c64xx_spi_dmacb':
      drivers/spi/spi-s3c64xx.c:239:21: warning: comparison between
      	'enum dma_data_direction' and 'enum dma_transfer_direction' [-Wenum-compare]
      
      As pointed out by Kukjin Kim, this also changes the use of constants
      from DMA_FROM_DEVICE/DMA_TO_DEVICE to DMA_DEV_TO_MEM/DMA_MEM_TO_DEV.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: spi-devel-general@lists.sourceforge.net
      c10356b9
  2. 10 8月, 2012 1 次提交
    • A
      spi/s3c64xx: improve error handling · 4732cc63
      Arnd Bergmann 提交于
      When a device tree definition os an s3c64xx SPI master is missing
      a "controller-data" subnode, the newly added s3c64xx_get_slave_ctrldata
      function might use uninitialized memory in place of that node,
      which was correctly reported by gcc.
      
      Without this patch, building s3c6400_defconfig results in:
      
      drivers/spi/spi-s3c64xx.c: In function 's3c64xx_get_slave_ctrldata.isra.25':
      drivers/spi/spi-s3c64xx.c:841:5: warning: 'data_np' may be used uninitialized in this function [-Wuninitialized]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NThomas Abraham <thomas.abraham@linaro.org>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: Jaswinder Singh <jaswinder.singh@linaro.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      4732cc63
  3. 04 8月, 2012 1 次提交
    • S
      spi/s3c64xx: Add missing static storage class specifiers · 10ce0473
      Sachin Kamat 提交于
      Silences the following sparse warnings:
      drivers/spi/spi-s3c64xx.c:1482:32: warning:
      symbol 's3c2443_spi_port_config' was not declared. Should it be static?
      drivers/spi/spi-s3c64xx.c:1489:32: warning:
      symbol 's3c6410_spi_port_config' was not declared. Should it be static?
      drivers/spi/spi-s3c64xx.c:1495:32: warning:
      symbol 's5p64x0_spi_port_config' was not declared. Should it be static?
      drivers/spi/spi-s3c64xx.c:1501:32: warning:
      symbol 's5pc100_spi_port_config' was not declared. Should it be static?
      drivers/spi/spi-s3c64xx.c:1508:32: warning:
      symbol 's5pv210_spi_port_config' was not declared. Should it be static?
      drivers/spi/spi-s3c64xx.c:1515:32: warning:
      symbol 'exynos4_spi_port_config' was not declared. Should it be static?
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      10ce0473
  4. 19 7月, 2012 4 次提交
  5. 13 7月, 2012 5 次提交
  6. 20 6月, 2012 1 次提交
  7. 15 3月, 2012 2 次提交
  8. 10 3月, 2012 2 次提交
  9. 21 1月, 2012 3 次提交
  10. 23 12月, 2011 1 次提交
  11. 14 9月, 2011 2 次提交
  12. 06 6月, 2011 1 次提交
  13. 29 9月, 2010 3 次提交
  14. 09 9月, 2010 4 次提交
  15. 08 9月, 2010 1 次提交
  16. 01 9月, 2010 2 次提交
  17. 02 2月, 2010 1 次提交
  18. 21 1月, 2010 5 次提交