)]}'
{
  "commit": "1c8cf9c997a4a6b36e907c7ede5f048aeaab1644",
  "tree": "d74c5bf6e87c1fee66a4e5db093e34a4892c1282",
  "parents": [
    "8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51"
  ],
  "author": {
    "name": "Ohad Ben-Cohen",
    "email": "ohad@wizery.com",
    "time": "Wed Oct 13 09:31:56 2010 +0200"
  },
  "committer": {
    "name": "Chris Ball",
    "email": "cjb@laptop.org",
    "time": "Fri Oct 15 12:54:55 2010 -0400"
  },
  "message": "mmc: sdio: fix SDIO suspend/resume regression\n\nFix SDIO suspend/resume regression introduced by 4c2ef25fe0b \"mmc: fix\nall hangs related to mmc/sd card insert/removal during suspend/resume\":\n\n  PM: Syncing filesystems ... done.\n  Freezing user space processes ... (elapsed 0.01 seconds) done.\n  Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.\n  Suspending console(s) (use no_console_suspend to debug)\n  pm_op(): platform_pm_suspend+0x0/0x5c returns -38\n  PM: Device pxa2xx-mci.0 failed to suspend: error -38\n  PM: Some devices failed to suspend\n\n4c2ef25fe0b moved the card removal/insertion mechanism out of MMC\u0027s\nsuspend/resume path and into pm notifiers (mmc_pm_notify), and that\nbroke SDIO\u0027s expectation that mmc_suspend_host() will remove the card,\nand squash the error, in case -ENOSYS is returned from the bus suspend\nhandler (mmc_sdio_suspend() in this case).\n\nmmc_sdio_suspend() is using this whenever at least one of the card\u0027s SDIO\nfunction drivers does not have suspend/resume handlers - in that case\nit is agreed to force removal of the entire card.\n\nThis patch fixes this regression by trivially bringing back that part of\nmmc_suspend_host(), which was removed by 4c2ef25fe0b.\n\nReported-and-tested-by: Sven Neumann \u003cs.neumann@raumfeld.com\u003e\nSigned-off-by: Ohad Ben-Cohen \u003cohad@wizery.com\u003e\nCc: Maxim Levitsky \u003cmaximlevitsky@gmail.com\u003e\nCc: \u003cstable@kernel.org\u003e\nAcked-by: Nicolas Pitre \u003cnico@fluxnic.net\u003e\nSigned-off-by: Chris Ball \u003ccjb@laptop.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5db49b124ffa158793e0cfb3d1db72321679d440",
      "old_mode": 33188,
      "old_path": "drivers/mmc/core/core.c",
      "new_id": "09eee6df0653c84fc5c08023f8913a6afbb884a7",
      "new_mode": 33188,
      "new_path": "drivers/mmc/core/core.c"
    }
  ]
}
