1. 27 5月, 2013 1 次提交
  2. 30 4月, 2013 1 次提交
  3. 15 4月, 2013 1 次提交
  4. 13 4月, 2013 3 次提交
  5. 05 4月, 2013 1 次提交
  6. 23 3月, 2013 4 次提交
    • S
      mmc: core: wait while adding MMC host to ensure root mounts successfully · 3500ed90
      Sergey Yanovich 提交于
      MMC hosts are added asynchronously. We need to wait until detect returns to
      avoid failed root filesystem mounts.
      
      VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0): error -6
      Please append a correct "root=" boot option; here are the available partitions:
      mmc0: host does not support reading read-only switch. assuming write-enable.
      1f00             256 mtdblock0  (driver?)
      1f01             256 mtdblock1  (driver?)
      1f02            2560 mtdblock2 mmc0: new SDHC card at address b368
       (driver?)
      1f03           29696 mtdblock3  (driver?)
      1f04           16384 mtdblock4 mmcblk0: mmc0:b368 USD   3.72 GiB
       (driver?)
       mmcblk0: p1
      b300         3910656 mmcblk0  driver: mmcblk
        b301         3906560 mmcblk0p1 00000000-01
      Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      Signed-off-by: NSergey Yanovich <ynvich@gmail.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      3500ed90
    • A
      mmc: sdio: bind acpi with sdio function device · eed222ac
      Aaron Lu 提交于
      ACPI spec 5 defined the _ADR encoding for sdio bus as:
      High word - slot number (0 based)
      Low word  - function number
      
      This patch adds support for binding sdio function device with acpi node,
      and if successful, involve acpi into its power management.
      Signed-off-by: NAaron Lu <aaron.lu@intel.com>
      Reviewed-by: NAdrian Hunter <adrian.hunter@intel.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      eed222ac
    • K
      mmc: core: enhance card removal judgement for slow removal · 1450734e
      Kevin Liu 提交于
      Function _mmc_detect_card_removed will be called to know whether
      the card is still present when host->bus_ops->detect is called.
      In current code, the return value of this function generally only
      depend on the result of sending cmd13 to card, which may not safe
      for card with detection support like slot gpio detection.
      Because the communication status between host and card may out of
      sync with the detect status if remove the card slowly or hands shake
      during the process. The direct reason is the async between card
      detect switch and card/slot pad contaction in hardware, which is
      defined by spec.
      
      The spec define card insert/remove sequence as below (both standard size
      SD card and MicroSD card have the same sequence):
      "Part 1 Standard Size SD Card Mechanical Addendum Ver4.00 Final,
      Appendix C: Card Detection Switch" (Take normally open type as example)
      a)SD card insertion sequence:
        The card detection switch should be turned on after all SD card
        contact pads are connected to the host connector contact pads.
      b)SD removal sequence:
        The card detection switch should be turned off when the SD card
        is just going to be removed and before any SD card contact pad is
        disconnected from the host connector contact pad.
      
      Below is the sequence when this issue occur (Take slot gpio detection
      as example and remove the card slowly during the process):
      1. gpio level changed and card detect interrupt triggered.
      2. mmc_rescan was launched.
      3. the card pads were still contacted with the slot pads because of slow
         removal. So _mmc_detect_card_removed and mmc_rescan think card was
         still present (cmd13 succeed).
      4. card pads were discontacted from the card slot pads.
      So the card was actually removed finally but the card removal event
      has been missed by system.
      The interval length between step 1 and step 4 depends on the
      card removal speed. If it's longer than the detect work schedule
      delay which is 200ms, this issue will likely happen.
      
      This patch add the card detect status check in function
      _mmc_detect_card_removed if cmd13 check succeed and host->ops->get_cd
      provided. If get_cd detect no card present then schedule another detect
      work 200ms later.
      Signed-off-by: NKevin Liu <kliu5@marvell.com>
      Tested-by: NJohan Rudholm <johan.rudholm@stericsson.com>
      Reviewed-by: NPhilip Rakity <prakity@nvidia.com>
      Acked-by: NUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      1450734e
    • B
      mmc: core: Add in support to expose PRV for v4 MMCs · 51e7e8b6
      Bernie Thompson 提交于
      The JEDEC MMC v4 spec defines a new PRV value in place of the original
      fwrev and hwrev specified in v1. We can expose this in the kernel to enable
      user space to more easily determine the product revision of a given MMC.
      Signed-off-by: NBernie Thompson <bhthompson@chromium.org>
      Reviewed-by: NUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      51e7e8b6
  7. 28 2月, 2013 1 次提交
  8. 25 2月, 2013 14 次提交
  9. 12 2月, 2013 5 次提交
  10. 28 1月, 2013 5 次提交
  11. 12 1月, 2013 1 次提交
  12. 08 12月, 2012 1 次提交
  13. 07 12月, 2012 2 次提交