)]}'
{
  "commit": "3f141e2aed586c41c2666d49c70c1c1bbb6d6abd",
  "tree": "d7308c465ec658fd09b5f6969ccf8a8e9b48f131",
  "parents": [
    "d1bbb60007597b920beca72cd0b413d10290310a"
  ],
  "author": {
    "name": "Alan Stern",
    "email": "stern@rowland.harvard.edu",
    "time": "Thu Feb 08 16:40:43 2007 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Fri Feb 16 15:32:21 2007 -0800"
  },
  "message": "USB: unconfigure devices which have config 0\n\nSome USB devices do have a configuration 0, in contravention of the\nUSB spec.  Normally 0 is supposed to indicate that a device is\nunconfigured.\n\nWhile we can\u0027t change what the device is doing, we can change usbcore.\nThis patch (as852) allows usb_set_configuration() to accept a config\nvalue of -1 as indicating that the device should be unconfigured.  The\nrequest actually sent to the device will still contain 0 as the value.\nBut even if the device does have a configuration 0, dev-\u003eactconfig\nwill be set to NULL and dev-\u003estate will be set to USB_STATE_ADDRESS.\n\nWithout some sort of special-case handling like this, there is no way\nto unconfigure these non-compliant devices.\n\nSigned-off-by: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2087766f9e88e059aa240c89e77f7e7d93939602",
      "old_mode": 33188,
      "old_path": "drivers/usb/core/devio.c",
      "new_id": "274f14f1633e8f348baff7c4ff8f138b3b2a803c",
      "new_mode": 33188,
      "new_path": "drivers/usb/core/devio.c"
    },
    {
      "type": "modify",
      "old_id": "b531a4fd30c228b47fda66611fa304c75657eea2",
      "old_mode": 33188,
      "old_path": "drivers/usb/core/generic.c",
      "new_id": "9bbcb20e2d94c3bf5ca96f77d0c1050d87d14eb2",
      "new_mode": 33188,
      "new_path": "drivers/usb/core/generic.c"
    },
    {
      "type": "modify",
      "old_id": "8aca3574c2b5f4c715e5ea70052c0fea328695d7",
      "old_mode": 33188,
      "old_path": "drivers/usb/core/message.c",
      "new_id": "74edaea5665d58367f6f62e48cec2d4a2b63313e",
      "new_mode": 33188,
      "new_path": "drivers/usb/core/message.c"
    },
    {
      "type": "modify",
      "old_id": "4eaa0ee8e72f6186f8b5996631f57fd29f3e0b10",
      "old_mode": 33188,
      "old_path": "drivers/usb/core/sysfs.c",
      "new_id": "0edfbafd702cced2fcda7638f2002be4c055fb52",
      "new_mode": 33188,
      "new_path": "drivers/usb/core/sysfs.c"
    }
  ]
}
