1. 25 4月, 2017 6 次提交
  2. 31 3月, 2017 1 次提交
    • H
      mmc: sdhci: Disable runtime pm when the sdio_irq is enabled · 923713b3
      Hans de Goede 提交于
      SDIO cards may need clock to send the card interrupt to the host.
      
      On a cherrytrail tablet with a RTL8723BS wifi chip, without this patch
      pinging the tablet results in:
      
      PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
      64 bytes from 192.168.1.14: icmp_seq=1 ttl=64 time=78.6 ms
      64 bytes from 192.168.1.14: icmp_seq=2 ttl=64 time=1760 ms
      64 bytes from 192.168.1.14: icmp_seq=3 ttl=64 time=753 ms
      64 bytes from 192.168.1.14: icmp_seq=4 ttl=64 time=3.88 ms
      64 bytes from 192.168.1.14: icmp_seq=5 ttl=64 time=795 ms
      64 bytes from 192.168.1.14: icmp_seq=6 ttl=64 time=1841 ms
      64 bytes from 192.168.1.14: icmp_seq=7 ttl=64 time=810 ms
      64 bytes from 192.168.1.14: icmp_seq=8 ttl=64 time=1860 ms
      64 bytes from 192.168.1.14: icmp_seq=9 ttl=64 time=812 ms
      64 bytes from 192.168.1.14: icmp_seq=10 ttl=64 time=48.6 ms
      
      Where as with this patch I get:
      
      PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
      64 bytes from 192.168.1.14: icmp_seq=1 ttl=64 time=3.96 ms
      64 bytes from 192.168.1.14: icmp_seq=2 ttl=64 time=1.97 ms
      64 bytes from 192.168.1.14: icmp_seq=3 ttl=64 time=17.2 ms
      64 bytes from 192.168.1.14: icmp_seq=4 ttl=64 time=2.46 ms
      64 bytes from 192.168.1.14: icmp_seq=5 ttl=64 time=2.83 ms
      64 bytes from 192.168.1.14: icmp_seq=6 ttl=64 time=1.40 ms
      64 bytes from 192.168.1.14: icmp_seq=7 ttl=64 time=2.10 ms
      64 bytes from 192.168.1.14: icmp_seq=8 ttl=64 time=1.40 ms
      64 bytes from 192.168.1.14: icmp_seq=9 ttl=64 time=2.04 ms
      64 bytes from 192.168.1.14: icmp_seq=10 ttl=64 time=1.40 ms
      
      Cc: Dong Aisheng <b29396@freescale.com>
      Cc: Ian W MORRISON <ianwmorrison@gmail.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NAdrian Hunter <adrian.hunter@intel.com>
      Acked-by: NDong Aisheng <aisheng.dong@nxp.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      923713b3
  3. 23 3月, 2017 1 次提交
  4. 13 2月, 2017 2 次提交
  5. 31 1月, 2017 1 次提交
  6. 20 12月, 2016 1 次提交
  7. 08 12月, 2016 1 次提交
  8. 05 12月, 2016 8 次提交
  9. 29 11月, 2016 4 次提交
  10. 07 11月, 2016 4 次提交
  11. 17 10月, 2016 1 次提交
  12. 10 10月, 2016 2 次提交
    • A
      mmc: sdhci: Rename sdhci_set_power() to sdhci_set_power_noreg() · 606d3131
      Adrian Hunter 提交于
      Unlike other cases, sdhci_set_power() does not reflect the default
      implementation of the ->set_power() callback. Rename it and create
      sdhci_set_power() that is the default implementation.
      Signed-off-by: NAdrian Hunter <adrian.hunter@intel.com>
      Cc: Jisheng Zhang <jszhang@marvell.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      606d3131
    • A
      mmc: sdhci: Fix SDHCI_QUIRK2_STOP_WITH_TC · fc605f1d
      Adrian Hunter 提交于
      Multi-block data transfers can specify the number of blocks either using a
      Set Block Count command (CMD23) or by sending a STOP command (CMD12) after
      the required number of blocks has transferred. CMD23 is preferred, but some
      cards don't support it. CMD12 with R1b response is used for writes, and
      R1 response for reads.
      
      Some SDHCI host controllers give a Transfer Complete (TC) interrupt for the
      STOP command (CMD12) whether or not a R1b response has been specified. The
      quirk SDHCI_QUIRK2_STOP_WITH_TC identifies those host controllers, but the
      implementation only considers the case where the TC interrupt arrives at
      the same time as the Command Complete (CC) interrupt. However,
      occasionally TC arrives before CC. That is harmless, but does generate an
      error message "Got data interrupt 0x00000002 even though no data operation
      was in progress".
      
      A simpler approach is to force R1b response onto all STOP commands, because
      SDHCI will handle TC before CC in the general case, so do that.
      Signed-off-by: NAdrian Hunter <adrian.hunter@intel.com>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      fc605f1d
  13. 27 9月, 2016 2 次提交
  14. 25 7月, 2016 6 次提交