An error occurred fetching the project authors.
  1. 15 Jul, 2008 3 commits
    • Pierre Ossman's avatar
      mmc: remove multiwrite capability · 23af6039
      Pierre Ossman authored
      Relax requirements on host controllers and only require that they do not
      report a transfer count than is larger than the actual one (i.e. a lower
      value is okay). This is how many other parts of the kernel behaves so
      upper layers should already be prepared to handle that scenario. This
      gives us a performance boost on MMC cards.
      Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
      23af6039
    • Anton Vorontsov's avatar
      mmc: change .get_ro() callback semantics · 08f80bb5
      Anton Vorontsov authored
      Now get_ro() callback must return 0/1 values for its logical states, and
      negative errno values in case of error. If particular host instance doesn't
      support RO/WP switch, it should return -ENOSYS.
      
      This patch changes some hosts in two ways:
      
      1. Now functions should be smart to not return negative values in
         "RO asserted" case (particularly gpio_ calls could return negative
         values for the outermost GPIOs).
      
         Also, board code usually passes get_ro() callbacks that directly return
         gpioreg & bit result, so at91_mci, imxmmc, pxamci and mmc_spi's get_ro()
         handlers need take special care when returning platform's values to the
         mmc core.
      
      2. In case of host instance didn't implement get_ro() callback, it should
         really return -ENOSYS and let the mmc core decide what to do about it
         (mmc core thinks the same way as the hosts, so it isn't functional
         change).
      Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
      08f80bb5
    • Anton Vorontsov's avatar
      mmc_spi: add support for card-detection polling · 619ef4b4
      Anton Vorontsov authored
      This patch adds new platform data variable "caps", so platforms
      could pass theirs capabilities into MMC core (for example, platforms
      without interrupt on the CD line will most probably want to pass
      MMC_CAP_NEEDS_POLL).
      
      New platform get_cd() callback provided to optimize polling.
      Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
      619ef4b4
  2. 29 Apr, 2008 1 commit
  3. 05 Dec, 2007 1 commit
  4. 27 Oct, 2007 1 commit
  5. 22 Oct, 2007 1 commit
  6. 17 Oct, 2007 1 commit
  7. 16 Oct, 2007 1 commit
  8. 14 Oct, 2007 1 commit
  9. 23 Sep, 2007 1 commit
    • David Brownell's avatar
      mmc_spi host driver · 15a0580c
      David Brownell authored
      This is the latest version of the MMC-over-SPI support.  It works
      on 2.6.23-rc2 plus git-mmc (from rc1-mm2), along with the preceding
      patches which teach the rest of the MMC stack about SPI.
      
      The main issue of note is that sometimes cards need to be power cycled
      to recover after certain faults.  Also, it may sometimes be necessary
      to disable CRCs.  ("modprobe mmc_core use_spi_crc=n")
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: mikael.starvik@axis.com,
      Cc: Hans-Peter Nilsson <hp@axis.com>
      Cc: Jan Nikitenko <jan.nikitenko@gmail.com>
      Cc: Mike Lavender <mike@steroidmicros.com>
      Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
      15a0580c