1. 05 7月, 2016 1 次提交
  2. 24 5月, 2016 1 次提交
  3. 13 5月, 2016 1 次提交
    • P
      spi: pic32-sqi: Fix linker error, undefined reference to `bad_dma_ops'. · 21825ff1
      Purna Chandra Mandal 提交于
      Even if DMA support is disabled code using DMA mapping APIs compiles fine,
      but fails in linking.
      -------
      drivers/built-in.o: In function `ring_desc_ring_free':
      spi-pic32-sqi.c:(.text+0x2cfbe0): undefined reference to `bad_dma_ops'
      spi-pic32-sqi.c:(.text+0x2cfbe4): undefined reference to `bad_dma_ops'
      drivers/built-in.o: In function `pic32_sqi_probe':
      spi-pic32-sqi.c:(.text+0x2cfe48): undefined reference to `bad_dma_ops'
      spi-pic32-sqi.c:(.text+0x2cfeb0): undefined reference to `bad_dma_ops'
      spi-pic32-sqi.c:(.text+0x2cff38): undefined reference to `bad_dma_ops'
      --------
      Correct dependency by adding 'depends on HAS_DMA' in Kconfig.
      Signed-off-by: NPurna Chandra Mandal <purna.mandal@microchip.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      21825ff1
  4. 12 5月, 2016 1 次提交
  5. 07 5月, 2016 1 次提交
    • A
      spi: pic32-sqi: Remove pic32_sqi_setup and pic32_sqi_cleanup · 191ec113
      Axel Lin 提交于
      Current code does not use ctldata at all, so remove spi_set_ctldata call.
      
      spi_setup() will set spi->bits_per_word = 8 if it was not set, so remove
      !spi->max_speed_hz checking.
      
      The spi core allows absent of spi->max_speed_hz setting, if it was not set
      spi_setup() assigns spi->master->max_speed_hz to it.
      
      spi core allows spi->max_speed_hz > spi->master->max_speed_hz, in this case
      spi core will limit the transfer speed to ensure xfer->speed_hz won't
      greater than spi->master->max_speed_hz so remove checking if
      spi->max_speed_hz is higher than spi->master->max_speed_hz.
      
      As a result, both pic32_sqi_setup() and pic32_sqi_cleanup() can be removed.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      191ec113
  6. 04 5月, 2016 3 次提交
  7. 02 5月, 2016 3 次提交
  8. 30 4月, 2016 4 次提交
  9. 29 4月, 2016 1 次提交
  10. 26 4月, 2016 4 次提交
  11. 22 4月, 2016 2 次提交
  12. 20 4月, 2016 1 次提交
  13. 19 4月, 2016 1 次提交
  14. 18 4月, 2016 2 次提交
  15. 16 4月, 2016 1 次提交
  16. 14 4月, 2016 1 次提交
    • A
      dmaengine: dw: rename masters to reflect actual topology · c422025c
      Andy Shevchenko 提交于
      The source and destination masters are reflecting buses or their layers to
      where the different devices can be connected. The patch changes the master
      names to reflect which one is related to which independently on the transfer
      direction.
      
      The outcome of the change is that the memory data width is now always limited
      by a data width of the master which is dedicated to communicate to memory.
      
      The patch will not break anything since all current users have the same data
      width for all masters. Though it would be nice to revisit avr32 platforms to
      check what is the actual hardware topology in use there. It seems that it has
      one bus and two masters on it as stated by Table 8-2, that's why everything
      works independently on the master in use. The purpose of the sequential patch
      is to fix the driver for configuration of more than one bus.
      
      The change is done in the assumption that src_master and dst_master are
      reflecting a connection to the memory and peripheral correspondently on avr32
      and otherwise on the rest.
      Acked-by: NHans-Christian Egtvedt <egtvedt@samfundet.no>
      Acked-by: NMark Brown <broonie@kernel.org>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      c422025c
  17. 13 4月, 2016 2 次提交
  18. 12 4月, 2016 2 次提交
  19. 07 4月, 2016 1 次提交
    • S
      spi: cadence: Fix some checkpatch warnings · 57bb1369
      Shubhrajyoti Datta 提交于
      No functional change.
      Fixing some style related issues
      
      CHECK: multiple assignments should be avoided
      +	new_ctrl_reg = ctrl_reg = cdns_spi_read(xspi, CDNS_SPI_CR);
      
      CHECK: Alignment should match open parenthesis
      +static void cdns_spi_config_clock_freq(struct spi_device *spi,
      +				  struct spi_transfer *transfer)
      
      CHECK: Please use a blank line after function/struct/union/enum declarations
      +}
      +static int cdns_prepare_message(struct spi_master *master,
      Signed-off-by: NShubhrajyoti Datta <shubhraj@xilinx.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      57bb1369
  20. 06 4月, 2016 7 次提交