)]}'
{
  "commit": "c3d6362b8717759de7f2086f9665a4d96cacbc51",
  "tree": "3474b8abc3a37cd645415f85ffc340c7d96c8d18",
  "parents": [
    "db92a6502d4e8cb885e85e862b24ba5c07036fbf"
  ],
  "author": {
    "name": "Alex Murray",
    "email": "murray.alex@gmail.com",
    "time": "Thu Jan 15 13:51:08 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 15 16:39:39 2009 -0800"
  },
  "message": "hwmon: applesmc: fix light sensor readings on newer MacBooks\n\nThe light sensors ALV0 and ALV1 on newer MacBooks (early 2008 and later)\nchanged to report 10 bytes instead the earlier 6, and the sensor encoding\nsubsequently changed.  As a result, the reported light sensors readings\nare much too low.\n\nVia experiments leading up to this patch, it seems only the ALV0 is\nreporting data, and the most useful value therein is a 10-bit big-endian\nvalue at offset 6.  This suggests that a new protocol was added as a\nbackward-compatible replacement on top of the old one.\n\nThis patch makes applesmc report the improved light sensor reading for the\nnew machines, on a scale in conformance with earlier ones.\n\nSigned-off-by: Alex Murray \u003cmurray.alex@gmail.com\u003e\nSigned-off-by: Henrik Rydberg \u003crydberg@euromail.se\u003e\nCc: Nicolas Boichat \u003cnicolas@boichat.ch\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": "dca47a591baf325eabce346ae115ed747efd7c53",
      "old_mode": 33188,
      "old_path": "drivers/hwmon/applesmc.c",
      "new_id": "e301862365889e1e2750d1514807a45d6489644b",
      "new_mode": 33188,
      "new_path": "drivers/hwmon/applesmc.c"
    }
  ]
}
