)]}'
{
  "commit": "da5bfe0ba6493bab069def22d20e77498f9f4754",
  "tree": "69f7d741a9fcfb31728b5424ae3513bdc96262f3",
  "parents": [
    "06418371069357999c2f7e9983d47351df09ba93"
  ],
  "author": {
    "name": "Doug Anderson",
    "email": "dianders@chromium.org",
    "time": "Thu Jun 20 23:47:44 2013"
  },
  "committer": {
    "name": "Grant Grundler",
    "email": "grundler@chromium.org",
    "time": "Thu Jul 25 17:25:31 2013"
  },
  "message": "CHROMIUM: mmc: dw_mmc: don\u0027t queue up a card detect at slot startup\n\nThe MMC subsystem handles looking for a card at probe time.  Queuing\nup our own can race with the rest of the MMC subsystem and cause\nproblems if we get unlucky with timing.  Just remove our own\ndetection.\n\nSpecifically, I found that with just the right set of printouts in my\nsystem that one of the three SD/MMC devices in my system was having\ntrouble probing.  It would get an err -123 (-ENOMEDIUM) during probe.\nI found that the source of the error was in\ndw_mci_work_routine_card().  Adding more printouts to the code\nsometimes made this error go away, so it\u0027s a little touchy.\n\nYou can see a snippet with my printouts in it (printouts were in\nset_ios() on an exynos5420 board with some of our local patches):\n\n[    4.216595] dwmmc_exynos 12210000.dwmmc1: Using internal DMA controller.\n[    4.395935] dwmmc_exynos 12210000.dwmmc1: Version ID is 250a\n[    4.401948] dwmmc_exynos 12210000.dwmmc1: DW MMC controller at irq 108, 64 bit host data width, 64 deep fifo\n[    4.424430] dwmmc_exynos 12210000.dwmmc1: sdr0 mode (irq\u003d108, width\u003d0)\n[    4.453975] dwmmc_exynos 12210000.dwmmc1: sdr0 mode (irq\u003d108, width\u003d0)\n[    4.459592] mmc_host mmc1: Bus speed (slot 0) \u003d 100000000Hz (slot req 400000Hz, actual 400000HZ div \u003d 125)\n[    4.484258] dwmmc_exynos 12210000.dwmmc1: 1 slots initialized\n[    4.485406] dwmmc_exynos 12210000.dwmmc1: sdr0 mode (irq\u003d108, width\u003d0)\n[    4.487606] dwmmc_exynos 12210000.dwmmc1: sdr0 mode (irq\u003d108, width\u003d0)\n[    4.489794] dwmmc_exynos 12210000.dwmmc1: sdr0 mode (irq\u003d108, width\u003d0)\n[    4.509757] mmc1: error -123 whilst initialising SDIO card\n\nWhile digging I found that doing our own card detection at init time\ndidn\u0027t appear to be necessary.  If I remove this code then cards that\nare in the system at bootup are still detected just fine.\n\nSigned-off-by: Doug Anderson \u003cdianders@chromium.org\u003e\nAcked-by: Seungwon Jeon \u003ctgih.jun@samsung.com\u003e\n\n[ This change has landed in kernel-next chromeos-3.8 branch:\n    https://gerrit.chromium.org/gerrit/#/c/59499/\n]\n\nBUG\u003dchrome-os-partner:16073\nTEST\u003dbuild/boot on snow and spring.\n    ./run_remote_tests.sh --board\u003d$B --remote\u003d$IP power_SuspendStress/control.bareDaily\n\nChange-Id: I948140d0c9da6508bc0a73e55fa7785f83b8df4d\nSigned-off-by: Grant Grundler \u003cgrundler@chromium.org\u003e\nPrevious-Reviewed-on: https://gerrit.chromium.org/gerrit/60827\n(cherry picked from commit ed7900943dc4d5881fb809dcba169d2b9d7aaf5a)\nPrevious-Reviewed-on: https://gerrit.chromium.org/gerrit/60956\n(cherry picked from commit fad8f2598eaf08e89469062131e318fa040f104e)\nReviewed-on: https://gerrit.chromium.org/gerrit/61621\nReviewed-by: Doug Anderson \u003cdianders@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bd63235b6b6bd2acb7770c48bed0fc2dfc150d1b",
      "old_mode": 33188,
      "old_path": "drivers/mmc/host/dw_mmc.c",
      "new_id": "52b7e7ff27e0599b9707970280117f3aa207d376",
      "new_mode": 33188,
      "new_path": "drivers/mmc/host/dw_mmc.c"
    }
  ]
}
