1. 20 Dec, 2017 1 commit
    • Christoph Fritz's avatar
      mmc: core: apply NO_CMD23 quirk to some specific cards · 318cea7d
      Christoph Fritz authored
      commit 91516a2a
      
       upstream.
      
      To get an usdhc Apacer and some ATP SD cards work reliable, CMD23 needs
      to be disabled.  This has been tested on i.MX6 (sdhci-esdhc) and rk3288
      (dw_mmc-rockchip).
      
      Without this patch on i.MX6 (sdhci-esdhc):
      
       $ dd if=/dev/urandom of=/mnt/test bs=1M count=10 conv=fsync
      
          | <mmc0: starting CMD23 arg 00000400 flags 00000015>
          | mmc0: starting CMD25 arg 00a71f00 flags 000000b5
          | mmc0:     blksz 512 blocks 1024 flags 00000100 tsac 3000 ms nsac 0
          | mmc0:     CMD12 arg 00000000 flags 0000049d
          | sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
          | mmc0: Timeout waiting for hardware interrupt.
      
      Without this patch on rk3288 (dw_mmc-rockchip):
      
          | mmc1: Card stuck in programming state! mmcblk1 card_busy_detect
          | dwmmc_rockchip ff0c0000.dwmmc: Busy; trying anyway
          | mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,
          | actual 400000HZ div = 0)
          | mmc1: card never left busy state
          | mmc1: tried to reset card, got error -110
          | blk_update_request: I/O error, dev mmcblk1, sector 139778
          | Buffer I/O error on dev mmcblk1p1, logical block 131586, lost async
          | page write
      Signed-off-by: default avatarChristoph Fritz <chf.fritz@googlemail.com>
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      318cea7d
  2. 02 Nov, 2017 1 commit
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
      b2441318
  3. 15 Feb, 2017 5 commits
  4. 13 Feb, 2017 1 commit
  5. 25 Jul, 2016 1 commit
  6. 26 Oct, 2015 1 commit
    • Ulf Hansson's avatar
      mmc: core: Remove MMC_CLKGATE · 9eadcc05
      Ulf Hansson authored
      
      MMC_CLKGATE was once invented to save power by gating the bus clock at
      request inactivity. At that time it served its purpose. The modern way to
      deal with power saving for these scenarios, is by using runtime PM.
      
      Nowadays, several host drivers have deployed runtime PM, but for those
      that haven't and which still cares power saving at request inactivity,
      it's certainly time to deploy runtime PM as it has been around for several
      years now.
      
      To simplify code to mmc core and thus decrease maintenance efforts, this
      patch removes all code related to MMC_CLKGATE.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9eadcc05
  7. 09 Jul, 2014 1 commit
  8. 18 Jan, 2014 1 commit
  9. 31 Oct, 2011 1 commit
  10. 26 Oct, 2011 1 commit
  11. 25 May, 2011 3 commits
  12. 15 Mar, 2011 3 commits