1. 10 1月, 2009 1 次提交
  2. 07 1月, 2009 7 次提交
  3. 02 12月, 2008 6 次提交
  4. 30 11月, 2008 1 次提交
    • R
      [ARM] Hide ISA DMA API when ISA_DMA_API is unset · dcea83ad
      Russell King 提交于
      When ISA_DMA_API is unset, we're not implementing the ISA DMA API,
      so there's no point in publishing the prototypes via asm/dma.h, nor
      including the machine dependent parts of that API.
      
      This allows us to remove a lot of mach/dma.h files which don't contain
      any useful code.  Unfortunately though, some platforms put their own
      private non-ISA definitions into mach/dma.h, so we leave these behind
      and fix the appropriate #include statments.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      dcea83ad
  5. 20 11月, 2008 2 次提交
  6. 13 11月, 2008 1 次提交
    • J
      atmel_spi: work-around required for new HW bug in AT91SAM9263 Rev.B SPI controller · 50d7d5bf
      Jean-Christophe Lallemand 提交于
      We're working with an AT91SAM9263 Rev B in our design and I experienced
      some inconsistency in spi-based touchscreen usage between our board and
      the Atmel evaluation kit we have that runs on a Rev A chip.
      
      The data was apparently delayed by 1 byte and got ridiculous data out of
      the touchscreen driver, very strange.  As everything looked normal in
      the spi, touchscreen and dma logs, I contacted the Atmel support and
      they triggered me on a new HW bug that appeared in the Rev B SPI
      controller.
      
      The problem is that the SPI controller on the Rev B needs that the
      software reset is performed two times so that it's performed correctly.
      
      Applying the patch below solves the issue on my Rev B board.  I've tested
      it as well on my Rev A evaluation kit and it has apparently no unwanted
      side effect, things continue to work as expected.
      Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      50d7d5bf
  7. 30 10月, 2008 1 次提交
  8. 17 10月, 2008 8 次提交
  9. 08 10月, 2008 1 次提交
    • G
      powerpc/mpc5200: fix build warnings on mpc52xx_psc_spi driver · a897ea13
      Grant Likely 提交于
      The register definitions have been changed for the mpc5200 PSC ports
      to cover some of the changes in the mpc5200b.  One change is that the
      ccr register is now a u32 instead of a u16.  However, for the purposes
      of this driver we want to continue to use 16 bit access to avoid
      changing the existing (working) behaviour.
      
      This patch allows the driver to continue to do 16 bit accesses without
      the compiler complaining about it.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      a897ea13
  10. 04 10月, 2008 1 次提交
  11. 02 10月, 2008 1 次提交
  12. 14 9月, 2008 5 次提交
  13. 06 9月, 2008 2 次提交
  14. 15 8月, 2008 1 次提交
    • D
      spi: bugfix spi_add_device() with duplicate chipselects · e48880e0
      David Brownell 提交于
      When reviewing a recent patch I noticed a potential trouble spot in the
      registration of new SPI devices.  The SPI master driver is told to set
      the device up before adding it to the driver model, so that it's always
      properly set up when probe() is called.  (This is important, because in
      the case of inverted chipselects, this device can make the bus misbehave
      until it's properly deselected.  It's got to be set up even if no driver
      binds to the device.)
      
      The trouble spot is that it doesn't first verify that no other device
      has been added using that chipselect.  If such a device has been added,
      its configuration gets trashed.  (Fortunately this has not been a common
      error!)
      
      The fix here adds an explicit check, and a mutex to protect the relevant
      critical region.
      
      [akpm@linux-foundation.org: make the lock local to spi_add_device()]
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e48880e0
  15. 07 8月, 2008 2 次提交