)]}'
{
  "commit": "00eb43a1897a8845d0edb198cec69ac5f1f299dd",
  "tree": "32cab402e51882c7854eab20556f0da75525cdc7",
  "parents": [
    "a64e62a07097f67108f0b68bc15216c3a4a5299b"
  ],
  "author": {
    "name": "Lennart Poettering",
    "email": "mzxreary@0pointer.de",
    "time": "Fri May 04 14:16:19 2007 +0200"
  },
  "committer": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Thu May 10 03:52:22 2007 -0400"
  },
  "message": "acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands\n\nThe ACPI EC that is used in MSI laptops knows some non-standard\ncommands for changing the screen brighntess and a few other things,\nwhich are used by the msi-laptop.c driver. Unfortunately for these\ncommands no GPE events for IBF and OBF are triggered. Since nowadays\nthe EC code uses the ec_intr\u003d1 mode by default, this causes these\noperations to timeout, although they don\u0027t fail. In result, all\noperations that you can do with the msi-laptop.c driver take more or\nless 1s to complete, which is awfully slow.\n\nIn one of the more recent kernels (2.6.20?) the EC subsystem has been\nrevamped. With that change the EC timeout has been increased. before\nthat increase the MSI EC accesses were slow -- but not *that* slow,\nhence I took notice of this limitation of the MSI EC hardware only very\nrecently.\n\nThe standard EC operations on the MSI EC as defined in the ACPI spec\nsupport GPE events properly.\n\nThe following patch adds a new argument \"force_poll\" to the\nec_transaction() function (and friends). If set to 1, the function\nwill poll for IBF/OBF even if ec_intr\u003d1 is enabled. If set to 0 the\ncurrent behaviour is used. The msi-laptop driver is modified to make\nuse of this new flag, so that OBF/IBF is polled for the special MSI EC\ntransactions -- but only for them.\n\nSigned-off-by: Lennart Poettering \u003cmzxreary@0pointer.de\u003e\nAcked-by: Alexey Starikovskiy \u003caystarik@gmail.com\u003e\nSigned-off-by: Len Brown \u003clen.brown@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e08cf98f504f12583174d23468a60bf4f9a28c14",
      "old_mode": 33188,
      "old_path": "drivers/acpi/ec.c",
      "new_id": "82f496c07675c66e3cf76020cfbf81fc3dc4139f",
      "new_mode": 33188,
      "new_path": "drivers/acpi/ec.c"
    },
    {
      "type": "modify",
      "old_id": "68c4b58525ba615b8450ff57d979099d67892a9a",
      "old_mode": 33188,
      "old_path": "drivers/misc/msi-laptop.c",
      "new_id": "41e901f53e7c819699b909f2a3afcf7a3587e6b4",
      "new_mode": 33188,
      "new_path": "drivers/misc/msi-laptop.c"
    },
    {
      "type": "modify",
      "old_id": "8bcfaa4c66ae78705ed128297d0069cd9f460752",
      "old_mode": 33188,
      "old_path": "include/linux/acpi.h",
      "new_id": "fccd8b548d93f9457dc277ee997a9e6ca34f4b58",
      "new_mode": 33188,
      "new_path": "include/linux/acpi.h"
    }
  ]
}
