)]}'
{
  "commit": "7c4d577367fb710ea74a56955c5e3546fe5dd7ac",
  "tree": "2e30de664d1f64d122a49b19604916f873f3fcdb",
  "parents": [
    "83a44ac8bf4a8e6cbbf0c00ff281a482778f708a"
  ],
  "author": {
    "name": "Huzefa Kankroliwala",
    "email": "huzefa.nomanx.kankroliwala@intel.com",
    "time": "Wed Apr 03 05:45:21 2013 -0700"
  },
  "committer": {
    "name": "Jiri Kosina",
    "email": "jkosina@suse.cz",
    "time": "Thu Apr 04 09:59:32 2013 +0200"
  },
  "message": "HID: i2c-hid: fix length for set/get report in i2c hid\n\nWith the current i2c hid driver set/get report does not work\nas expected, for e.g sensor hub properties like power state,\nfrequency etc is not set properly on the device as a result\nwe do not get events.\nThe problem is that i2c hid driver in function i2c_hid_request\nsets length equal to default buffer size for which the sensor\nhub does not respond on get/set commands. Use report length\nand calculate it based on report size and id.\n\nReviewed-by: Mika Westerberg \u003cmika.westerberg@linux.intel.com\u003e\nReviewed-by: Benjamin Tissoires \u003cbenjamin.tissoires@redhat.com\u003e\nSigned-off-by: Huzefa Kankroliwala \u003chuzefa.nomanx.kankroliwala@intel.com\u003e\nSigned-off-by: Jiri Kosina \u003cjkosina@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "935f387be95a333cde1e9ac56c931811f60135a2",
      "old_mode": 33188,
      "old_path": "drivers/hid/i2c-hid/i2c-hid.c",
      "new_id": "2b1799a3b212d73e1bc9100be6092923a4bc8cb2",
      "new_mode": 33188,
      "new_path": "drivers/hid/i2c-hid/i2c-hid.c"
    }
  ]
}
