)]}'
{
  "commit": "5d6b1edf8ccc4b7e4e77dff3fc80882833d6186e",
  "tree": "1386880e1cc93164563fc3fba149656c37e27857",
  "parents": [
    "81065518eda14ebbce1b48c98d5077b0a059d4a3"
  ],
  "author": {
    "name": "Daniel Mack",
    "email": "daniel@caiaq.de",
    "time": "Tue Dec 01 18:17:18 2009 +0100"
  },
  "committer": {
    "name": "Eric Miao",
    "email": "eric.y.miao@gmail.com",
    "time": "Wed Dec 02 22:58:19 2009 +0800"
  },
  "message": "[ARM] pxamci: call mmc_remove_host() before freeing resources\n\nmmc_remove_host() will cause the mmc core to switch off the bus power by\neventually calling pxamci_set_ios(). This function uses the regulator or\nthe GPIO which have been freed already.\n\nThis causes the following Oops on module unload.\n\n[   49.519649] Unable to handle kernel paging request at virtual address 30303a70\n[   49.526878] pgd \u003d c7084000\n[   49.529563] [30303a70] *pgd\u003d00000000\n[   49.533136] Internal error: Oops: 5 [#1]\n[   49.537025] last sysfs file: /sys/devices/platform/pxa27x-ohci/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0/scsi_level\n[   49.547471] Modules linked in: pxamci(-) eeti_ts\n[   49.552061] CPU: 0    Not tainted  (2.6.32-rc8 #322)\n[   49.557001] PC is at regulator_is_enabled+0x3c/0xbc\n[   49.561846] LR is at regulator_is_enabled+0x30/0xbc\n[   49.566691] pc : [\u003cc01a2448\u003e]    lr : [\u003cc01a243c\u003e]    psr: 60000013\n[   49.566702] sp : c7083e70  ip : 30303a30  fp : 00000000\n[   49.578093] r10: c705e200  r9 : c7082000  r8 : c705e2e0\n[   49.583280] r7 : c7061340  r6 : c7061340  r5 : c7083e70  r4 : 00000000\n[   49.589759] r3 : c04dc434  r2 : c04dc434  r1 : c03eecea  r0 : 00000047\n[   49.596241] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user\n[   49.603329] Control: 0000397f  Table: a7084018  DAC: 00000015\n[   49.609031] Process rmmod (pid: 1101, stack limit \u003d 0xc7082278)\n[   49.614908] Stack: (0xc7083e70 to 0xc7084000)\n[   49.619238] 3e60:                                     c7082000 c703c4f8 c705ea00 c04f4074\n[   49.627366] 3e80: 00000000 c705e3a0 ffffffff c0247ddc c70361a0 00000000 c705e3a0 ffffffff\n[   49.635499] 3ea0: c705e200 bf006400 c78c4f00 c705e200 c705e3a0 ffffffff c705e200 ffffffff\n[   49.643633] 3ec0: c04d8ac8 c02476d0 ffffffff c0247c60 c705e200 c0248678 c705e200 c0249064\n[   49.651765] 3ee0: ffffffff bf006204 c04d8ad0 c04d8ad0 c04d8ac8 bf007490 00000880 c00440c4\n[   49.659898] 3f00: 0000b748 c01c5708 bf007490 c01c44c8 c04d8ac8 c04d8afc bf007490 c01c4570\n[   49.668031] 3f20: bf007490 bf00750c c04f4258 c01c37a4 00000000 bf00750c c7083f44 c007b014\n[   49.676162] 3f40: 4000d000 6d617870 08006963 00000001 00000000 c7085000 00000001 00000000\n[   49.684287] 3f60: 4000d000 c7083f8c 00000001 bea01a54 00005401 c7ab1400 c00440c4 00082000\n[   49.692420] 3f80: bf00750c 00000880 c7083f8c 00000000 4000cfa8 00000000 00000880 bea01cc8\n[   49.700552] 3fa0: 00000081 c0043f40 00000000 00000880 bea01cc8 00000880 00000006 00000000\n[   49.708677] 3fc0: 00000000 00000880 bea01cc8 00000081 00000097 0000cca4 0000b748 00000000\n[   49.716802] 3fe0: 4001a4f0 bea01cc0 00018bf4 4001a4fc 20000010 bea01cc8 a063e021 a063e421\n[   49.724958] [\u003cc01a2448\u003e] (regulator_is_enabled+0x3c/0xbc) from [\u003cc0247ddc\u003e] (mmc_regulator_set_ocr+0x14/0xd8)\n[   49.734836] [\u003cc0247ddc\u003e] (mmc_regulator_set_ocr+0x14/0xd8) from [\u003cbf006400\u003e] (pxamci_set_ios+0xd8/0x17c [pxamci])\n[   49.745044] [\u003cbf006400\u003e] (pxamci_set_ios+0xd8/0x17c [pxamci]) from [\u003cc02476d0\u003e] (mmc_power_off+0x50/0x58)\n[   49.754555] [\u003cc02476d0\u003e] (mmc_power_off+0x50/0x58) from [\u003cc0247c60\u003e] (mmc_detach_bus+0x68/0xc4)\n[   49.763207] [\u003cc0247c60\u003e] (mmc_detach_bus+0x68/0xc4) from [\u003cc0248678\u003e] (mmc_stop_host+0xd4/0x1bc)\n[   49.771944] [\u003cc0248678\u003e] (mmc_stop_host+0xd4/0x1bc) from [\u003cc0249064\u003e] (mmc_remove_host+0xc/0x20)\n[   49.780681] [\u003cc0249064\u003e] (mmc_remove_host+0xc/0x20) from [\u003cbf006204\u003e] (pxamci_remove+0xc8/0x174 [pxamci])\n[   49.790211] [\u003cbf006204\u003e] (pxamci_remove+0xc8/0x174 [pxamci]) from [\u003cc01c5708\u003e] (platform_drv_remove+0x1c/0x24)\n[   49.800164] [\u003cc01c5708\u003e] (platform_drv_remove+0x1c/0x24) from [\u003cc01c44c8\u003e] (__device_release_driver+0x7c/0xc4)\n[   49.810110] [\u003cc01c44c8\u003e] (__device_release_driver+0x7c/0xc4) from [\u003cc01c4570\u003e] (driver_detach+0x60/0x8c)\n[   49.819535] [\u003cc01c4570\u003e] (driver_detach+0x60/0x8c) from [\u003cc01c37a4\u003e] (bus_remove_driver+0x90/0xcc)\n[   49.828452] [\u003cc01c37a4\u003e] (bus_remove_driver+0x90/0xcc) from [\u003cc007b014\u003e] (sys_delete_module+0x1d8/0x254)\n[   49.837891] [\u003cc007b014\u003e] (sys_delete_module+0x1d8/0x254) from [\u003cc0043f40\u003e] (ret_fast_syscall+0x0/0x28)\n[   49.847145] Code: eb06c53a e596c030 e1a0500d e59f106c (e59c0040)\n[   49.853566] ---[ end trace b5fa66a00cea142f ]---\n\nSigned-off-by: Daniel Mack \u003cdaniel@caiaq.de\u003e\nReported-by: Sven Neumann \u003cs.neumann@raumfeld.com\u003e\nCc: Pierre Ossman \u003cpierre@ossman.eu\u003e\nCc: linux-mmc@vger.kernel.org\nCc: linux-arm-kernel@lists.infradead.org\nCc: stable@kernel.org\nSigned-off-by: Eric Miao \u003ceric.y.miao@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b00d6731905826864abf43a762910899087a3887",
      "old_mode": 33188,
      "old_path": "drivers/mmc/host/pxamci.c",
      "new_id": "9fb480bb0e0a8cca4398941ad4ad483b47dc4887",
      "new_mode": 33188,
      "new_path": "drivers/mmc/host/pxamci.c"
    }
  ]
}
