1. 30 3月, 2014 1 次提交
  2. 27 3月, 2014 3 次提交
  3. 26 3月, 2014 1 次提交
    • A
      sdhci: only reprogram retuning timer when flag is set · 2bc02485
      Arend van Spriel 提交于
      When the host->tuning_count is zero it means that the retuning is
      disabled. This is checked on the first run of sdhci_execute_tuning()
      by the if statement below:
      
      	if (!(host->flags & SDHCI_NEEDS_RETUNING) && host->tuning_count &&
      	    (host->tuning_mode == SDHCI_TUNING_MODE_1)) {
      
      So only when tuning_count is non-zero it will set the host flag
      SDHCI_USING_RETUNING_TIMER. The else statement is only for re-programming
      the timer, which means that flag must be set. Because that is not checked
      the else statement is executed in the first run when tuning_count is zero.
      
      This was seen on a host controller which indicated SDHCI_TUNING_MODE_1 (0)
      and tuning_count being zero. Suspect that (one of) these registers is not
      properly set.
      Signed-off-by: NArend van Spriel <arend@broadcom.com>
      Acked-by: NUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: NAaron Lu <aaron.lu@intel.com>
      Signed-off-by: NChris Ball <chris@printf.net>
      2bc02485
  4. 24 3月, 2014 1 次提交
  5. 17 3月, 2014 7 次提交
  6. 05 3月, 2014 24 次提交
  7. 04 3月, 2014 1 次提交
    • F
      mmc: dw_mmc: fix possible build error · 370aede6
      Felipe Balbi 提交于
      Fix the following build errors:
      
      drivers/mmc/host/dw_mmc-k3.c: In function ‘dw_mci_k3_suspend’:
      drivers/mmc/host/dw_mmc-k3.c:58:2: error: implicit declaration of
      	function ‘dw_mci_suspend’ [-Werror=implicit-function-declaration]
        ret = dw_mci_suspend(host);
        ^
      drivers/mmc/host/dw_mmc-k3.c: In function ‘dw_mci_k3_resume’:
      drivers/mmc/host/dw_mmc-k3.c:76:2: error: implicit declaration of
      	function ‘dw_mci_resume’ [-Werror=implicit-function-declaration]
        return dw_mci_resume(host);
        ^
      drivers/mmc/host/dw_mmc-k3.c: At top level:
      drivers/mmc/host/dw_mmc-k3.c:53:12: warning: ‘dw_mci_k3_suspend’ defined
      	but not used [-Wunused-function]
       static int dw_mci_k3_suspend(struct device *dev)
                  ^
      drivers/mmc/host/dw_mmc-k3.c:65:12: warning: ‘dw_mci_k3_resume’ defined
      	but not used [-Wunused-function]
       static int dw_mci_k3_resume(struct device *dev)
                  ^
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Acked-by: NJaehoon Chung <jh80.chung@samsung.com>
      Signed-off-by: NChris Ball <chris@printf.net>
      370aede6
  8. 03 3月, 2014 2 次提交