)]}'
{
  "commit": "5affb607720d734ca572b8a77c5c7d62d3042b6f",
  "tree": "5c3a675bef03570958fc4e9baffb318ec7f64e31",
  "parents": [
    "0dcc48c15f63ee86c2fcd33968b08d651f0360a5"
  ],
  "author": {
    "name": "Gregory Bean",
    "email": "gbean@codeaurora.org",
    "time": "Thu Sep 09 16:38:02 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Sep 09 18:57:24 2010 -0700"
  },
  "message": "gpio: sx150x: correct and refine reset-on-probe behavior\n\nReplace the arbitrary software-reset call from the device-probe\nmethod, because:\n\n- It is defective.  To work correctly, it should be two byte writes,\n  not a single word write.  As it stands, it does nothing.\n\n- Some devices with sx150x expanders installed have their NRESET pins\n  ganged on the same line, so resetting one causes the others to reset -\n  not a nice thing to do arbitrarily!\n\n- The probe, usually taking place at boot, implies a recent hard-reset,\n  so a software reset at this point is just a waste of energy anyway.\n\nTherefore, make it optional, defaulting to off, as this will match the\ncommon case of probing at powerup and also matches the current broken\nno-op behavior.\n\nSigned-off-by: Gregory Bean \u003cgbean@codeaurora.org\u003e\nReviewed-by: Jean Delvare \u003ckhali@linux-fr.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b42f42ca70c3c9454bb00ff7cf2e8505f74e482d",
      "old_mode": 33188,
      "old_path": "drivers/gpio/sx150x.c",
      "new_id": "823559ab0e243610ca8e5ff3b5983aca3d53b7bb",
      "new_mode": 33188,
      "new_path": "drivers/gpio/sx150x.c"
    },
    {
      "type": "modify",
      "old_id": "ee3049cb9ba5782e27447d3984a914a2d39ae87b",
      "old_mode": 33188,
      "old_path": "include/linux/i2c/sx150x.h",
      "new_id": "52baa79d69a763f7f94f728b115fe0337190addd",
      "new_mode": 33188,
      "new_path": "include/linux/i2c/sx150x.h"
    }
  ]
}
