)]}'
{
  "commit": "23d021167eebf0df5ccadf4f8de5ccb8d4ac2904",
  "tree": "5b5fd57be0cdb3cdaf366b08e6f38e992bf62c1d",
  "parents": [
    "94b849aaf6e22ab7bf54b0d0377a882d4892396d"
  ],
  "author": {
    "name": "Jiri Kosina",
    "email": "jkosina@suse.cz",
    "time": "Wed May 12 16:01:26 2010 +0200"
  },
  "committer": {
    "name": "Jiri Kosina",
    "email": "jkosina@suse.cz",
    "time": "Wed May 12 16:01:31 2010 +0200"
  },
  "message": "HID: magicmouse: fix input registration\n\nWhen HIDRAW is not set, hid_hw_start() returns ENODEV as no subsystem has\nclaimed the magicmouse device, and probe routine bails out. Which is not what we want.\n\nThis happens because magicmouse driver is instantiating the connection to\nInput subsystem itself, and since commit 28918c211d86b (\"HID: magicmouse: fix\noops after device removal\") the HID core is not registering input device\nitself.\n\nFix this by letting HID core register the input device (so that hid_hw_start()\nsucceeds, as the device is claimed by at least one subsystem) and de-register\nit again later before proceeding with proper input setup.\n\nReported-by: Justin P. Mattock \u003cjustinmattock@gmail.com\u003e\nSigned-off-by: Jiri Kosina \u003cjkosina@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d471fc2ab82b9f1f2f4b5d35fb7456526dda763",
      "old_mode": 33188,
      "old_path": "drivers/hid/hid-magicmouse.c",
      "new_id": "f10d56a15f2103699003e8cf13d2c07f0ac6e192",
      "new_mode": 33188,
      "new_path": "drivers/hid/hid-magicmouse.c"
    }
  ]
}
