cpufreq: interactive: avoid underflow on active time calculation

Check for idle time delta less than elapsed time delta, avoid
underflow computing active time.

Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>

Conflicts:

	drivers/cpufreq/cpufreq_interactive.c

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: avoid underflow on active time calculation

Check for idle time delta less than elapsed time delta, avoid
underflow computing active time.

Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>

Conflicts:

	drivers/cpufreq/cpufreq_interactive.c

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: avoid underflow on active time calculation

Check for idle time delta less than elapsed time delta, avoid
underflow computing active time.

Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>

Conflicts:

	drivers/cpufreq/cpufreq_interactive.c

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>