1. Sep 01, 2013
  2. Aug 31, 2013
  3. Aug 29, 2013
    • Axel Lin's avatar
      spi: nuc900: Fix mode_bits setting · 044d0bb6
      Axel Lin authored
      
      
      The code in nuc900_slave_select() supports handling SPI_CS_HIGH.
      Thus set SPI_CS_HIGH bit in master->mode_bits to make it work.
      Otherwise, spi_setup() will return unsupported mode bits error message if
      SPI_CS_HIGH is set in the mode field of struct spi_device.
      
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      044d0bb6
    • Julia Lawall's avatar
      spi: simplify devm_request_mem_region/devm_ioremap · b3136f8f
      Julia Lawall authored
      
      
      Convert the composition of devm_request_mem_region and devm_ioremap to a
      single call to devm_ioremap_resource.  The associated call to
      platform_get_resource is also simplified and moved next to the new call to
      devm_ioremap_resource.
      
      This was done using a combination of the semantic patches
      devm_ioremap_resource.cocci and devm_request_and_ioremap.cocci, found in
      the scripts/coccinelle/api directory.
      
      This patch also removes the label exit_busy, to use the error code returned
      by the failing operation, rather than always -EBUSY.
      
      Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      b3136f8f
  4. Aug 28, 2013
  5. Aug 26, 2013
  6. Aug 25, 2013