1. 10 11月, 2014 3 次提交
    • A
      mmc: sdhci: Fix incorrect ADMA2 descriptor table size · c09df940
      Adrian Hunter 提交于
      The ADMA2 descriptor table size was being calculated incorrectly
      Fix it.
      
      Note that it has been wrong for a long time and likely has not
      caused any problems because of a combination of 1) not needing
      alignment descriptors for block operations 2) more memory being
      allocated than was requested 3) the use of
      SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC which does not use an extra
      descriptor for the end marker.
      Signed-off-by: NAdrian Hunter <adrian.hunter@intel.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      c09df940
    • A
      mmc: sdhci: fix error conditions for controller reset · fce9d33f
      Andrew Gabbasov 提交于
      Add the case of SET_BLOCK_COUNT command error to the error conditions
      check for making a controller reset at request handling finish.
      Otherwise, if the SET_BLOCK_COUNT command failed, e.g. with a timeout,
      the controller state was not reset, and the next command failed too.
      
      In the case of data error the controller reset is already done in
      finish_data() function before sending stop command (if present),
      so the finish tasklet should make a reset after data error only
      if no stop command existed in the request.
      
      Also, fix the indentation of this condition check to make it more logical.
      Signed-off-by: NAndrew Gabbasov <andrew_gabbasov@mentor.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      fce9d33f
    • A
      mmc: sdhci: Balance vmmc regulator_disable() · fbfaf032
      Andrew Gabbasov 提交于
      As a follow-up of commit
      "mmc: sdhci: Balance vmmc regulator_enable(), and always enable vqmmc"
      vmmc regulator disable is also not needed in sdhci_remove_host.
      The regulator is completely controlled by mmc_power_up and mmc_power_off
      functions and is already disabled by the time of removing the host.
      Extra regulator_disable call in sdhci_remove_host is unbalanced and
      causes a warning reported by regulator core, so should be removed.
      Signed-off-by: NAndrew Gabbasov <andrew_gabbasov@mentor.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      fbfaf032
  2. 03 10月, 2014 2 次提交
  3. 24 9月, 2014 2 次提交
  4. 09 9月, 2014 10 次提交
  5. 09 7月, 2014 6 次提交
  6. 22 5月, 2014 17 次提交