1. 09 9月, 2014 5 次提交
  2. 09 7月, 2014 6 次提交
  3. 22 5月, 2014 24 次提交
  4. 14 5月, 2014 1 次提交
    • N
      mmc: sdhci: remove mdelay in eMMC tuning · 197160d5
      Nick Sanders 提交于
      This patch removes an unneccesary 1ms mdelay in the HS200 tuning
      loop, called 40 times per retuning. Currently this causes a latency
      of >40ms on any emmc accesses triggering wake from runtime PM,
      which can occur for a significant portion of reads on a mostly idle system.
      
      The delay is left in place for SD Cards, which use
      MMC_SEND_TUNING_BLOCK rather than MMC_SEND_TUNING_BLOCK_HS200.
      I'm not able to find evidence that this is required for SD in the
      specs I have access to, however this delay has been present from
      initial checkin for SD so I have preserved the original behavior for
      compatibility.
      
      This has been verified to fix observed glitching on local audio
      playback and recording on apps with inbuilt assumptions on storage
      latency.
      Signed-off-by: NNick Sanders <nsanders@chromium.org>
      Reviewed-by: NGrant Grundler <grundler@chromium.org>
      Reviewed-by: NDoug Anderson <dianders@chromium.org>
      Acked-by: NUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NChris Ball <chris@printf.net>
      197160d5
  5. 21 4月, 2014 1 次提交
  6. 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
  7. 17 3月, 2014 1 次提交
  8. 23 2月, 2014 1 次提交