1. 01 7月, 2009 1 次提交
    • D
      spi: add spi_master flag word · 70d6027f
      David Brownell 提交于
      Add a new spi_master.flags word listing constraints relevant to that
      controller.  Define the first constraint bit: a half duplex restriction.
      Include that constraint in the OMAP1 MicroWire controller driver.
      
      Have the mmc_spi host be the first customer of this flag.  Its coding
      relies heavily on full duplex transfers, so it must fail when the
      underlying controller driver won't perform them.
      
      (The spi_write_then_read routine could use it too: use the
      temporarily-withdrawn full-duplex speedup unless this flag is set, in
      which case the existing code applies.  Similarly, any spi_master
      implementing only SPI_3WIRE should set the flag.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70d6027f
  2. 19 6月, 2009 2 次提交
  3. 25 3月, 2009 1 次提交
  4. 09 2月, 2009 1 次提交
  5. 06 9月, 2008 1 次提交
  6. 07 8月, 2008 2 次提交
  7. 28 4月, 2008 1 次提交
  8. 11 4月, 2008 1 次提交
  9. 17 10月, 2007 1 次提交
    • D
      SPI driver runtime footprint shrinkage · d1e44d9c
      David Brownell 提交于
      Shrink the runtime footprint of various SPI drivers:
      
        - Move the probe() routine into the init section where practical,
          using platform_driver_probe() to make that safe.  This often saves
          around 1KB.  Using platform_driver_probe() can also be a correctness
          fix, if the probe routine is already marked __init but the driver
          struct keeps a dangling pointer to it after init section removal.
      
        - Likewise move remove() routines into the exit sections.
      
      These changes would be inappropriate iff the platform devices were
      actually hotpluggable (e.g. they're found on optional addon cards,
      or in an FPGA that's dynamically reprogrammed).  In these cases,
      that's not the situation; it's an SOC controller and the only device
      is initialized before these drivers.
      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>
      d1e44d9c
  10. 18 7月, 2007 1 次提交
  11. 24 5月, 2007 1 次提交
  12. 21 2月, 2007 1 次提交
  13. 13 2月, 2007 1 次提交