)]}'
{
  "commit": "a25cbd045a2ffc42787d4dbcbb9c7118f5f42732",
  "tree": "cefbaaf38cd09ffb3c96cacf2b93b6d9caaa4fe2",
  "parents": [
    "091438dd5668396328a3419abcbc6591159eb8d1"
  ],
  "author": {
    "name": "Magnus Damm",
    "email": "magnus.damm@gmail.com",
    "time": "Fri May 01 14:45:46 2009 +0900"
  },
  "committer": {
    "name": "Thomas Gleixner",
    "email": "tglx@linutronix.de",
    "time": "Sat May 02 11:45:15 2009 +0200"
  },
  "message": "clocksource: setup mult_orig in clocksource_enable()\n\nSetup clocksource mult_orig in clocksource_enable().\n\nClocksource drivers can save power by using keeping the\ndevice clock disabled while the clocksource is unused.\n\nIn practice this means that the enable() and disable()\ncallbacks perform clk_enable() and clk_disable().\n\nThe enable() callback may also use clk_get_rate() to get\nthe clock rate from the clock framework. This information\ncan then be used to calculate the shift and mult variables.\n\nCurrently the mult_orig variable is setup from mult at\nregistration time only. This is conflicting with the above\ncase since the clock is disabled and the mult variable is\nnot yet calculated at the time of registration.\n\nMoving the mult_orig setup code to clocksource_enable()\nallows us to both handle the common case with no enable()\ncallback and the mult-changed-after-enable() case.\n\n[ Impact: allow dynamic clock source usage ]\n\nSigned-off-by: Magnus Damm \u003cdamm@igel.co.jp\u003e\nLKML-Reference: \u003c20090501054546.8193.10688.sendpatchset@rx1.opensource.se\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a40d14daa9fab04bf641c1a11d82a1610ff7753",
      "old_mode": 33188,
      "old_path": "include/linux/clocksource.h",
      "new_id": "c56457c8334eea7ece9236c963fec845791909ba",
      "new_mode": 33188,
      "new_path": "include/linux/clocksource.h"
    },
    {
      "type": "modify",
      "old_id": "ecfd7b5187e0af0a7e3db8767ddfbf539ff64c23",
      "old_mode": 33188,
      "old_path": "kernel/time/clocksource.c",
      "new_id": "80189f6f1c5a1f7a326c9490e18f571fc8f49ea7",
      "new_mode": 33188,
      "new_path": "kernel/time/clocksource.c"
    }
  ]
}
