summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-06-18 16:24:28 +0530
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-08-10 11:40:34 +0200
commiteb8703e2ef7c311900174818e884bd49f64d4511 (patch)
treea3aaa7ec7b014ce79ba9b5a227ce9c4c75e07f8d /scripts/basic
parenta2b7e10d29051a084b490c2911c3e1388b5f9677 (diff)
clockevents/drivers/mxs: Migrate to new 'set-state' interface
Migrate mxs driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also drop: - 'mxs_clockevent_mode': as we have helpers available from core for the same. same state twice and so perhaps the check wasn't required. - 'clock_event_mode_label': CLOCK_EVT_MODE_* shouldn't be used anymore by drivers and it was used just to print old-state:new-state. The debug prints are called from mxs_irq_clear() now based on the state-name passed to it. The printed name will be same for shutdown and resume states as they use the same callback pointer. Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions