1. 24 9月, 2006 1 次提交
    • R
      [MMC] MMC_CAP_BYTEBLOCK flag for non-log2 block sizes capable hosts · 42431acb
      Russell King 提交于
      Some MMC hosts can only handle log2 block sizes.  Unfortunately,
      the MMC password support needs to be able to send non-log2 block
      sizes.  Provide a capability so that the MMC password support can
      decide whether it should use this support or not.
      
      The unfortunate side effect of this host limitation is that any
      MMC card protected by a password which is not a log2 block size
      can not be accessed on a host which only allows a log2 block size.
      
      This change just adds the flag.  The MMC password support code
      needs updating to use it (if and when it is finally submitted.)
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      42431acb
  2. 03 7月, 2006 1 次提交
  3. 01 7月, 2006 1 次提交
  4. 19 6月, 2006 2 次提交
    • A
      [ARM] 3565/1: AT91RM9200 MMC update · b44fb7a0
      Andrew Victor 提交于
      Patch from Andrew Victor
      
      This patch includes code cleanups and minor fixes to the AT91RM9200 MMC
      driver.
      
      1. Replace calls to DBG() with pr_debug().
      2. 'host' can never be null, so don't bother checking for that case.
      3. Remove SA_SAMPLE_RANDOM from request_irq().  [Patch from Matt
      Mackall]
      4. clk_get() doesn't return NULL on error - need to test returned value
      with IS_ERR().
      5. Free resources if clk_get() or request_irq() fails.
      Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b44fb7a0
    • R
      [MMC] Convert all hosts except mmci to use data->blksz · a3fd4a1b
      Russell King 提交于
      The MMC specification allows non-power of two block sizes.  As such,
      we should not pass the log2 block size to host drivers, but instead
      pass the byte size.
      
      However, ARM MMCI can only work with log2 block size, so continue to
      pass both the log2 block size and byte block size.  This means that
      for the moment, the byte block size must remain a power of two, but
      this is the first stage of removing this restriction for other hosts.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a3fd4a1b
  5. 05 5月, 2006 1 次提交
  6. 03 4月, 2006 1 次提交