Revert "Revert "omap44xx: cpuidle: Update target residencies to saner values""

This reverts commit 4312b32607f6fc8ddf48443b4fd6ee3ee63e6271.
Revert "Revert "OMAP4: cpuidle: don't touch mpu and core state until CPU1 is off""

This reverts commit 570ab5ee77a0f77f2411ff3d922101f6449b0354.
Revert "Revert "omap4: cpuidle: Some obvious optimisations to the code path""

This reverts commit fbeb399d81b4e5bec0a0515b869b16c038b908cb.
watchdog: omap_wdt: pet, do not disable, WDT at shutdown

Use WDT to recover from driver shutdown sequences that hang.

Change-Id: Ib794ea8ff7aa8f6f4b7e354f118b0d8f8eb98ddc
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
3.0.74

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
omap2plus: cpufreq: Modify lpj recalculation logic

Somethimes "mdelay" function provide delay
that several times shorter than it should be.

This happens because recalculating lpj
performed after switching OPP. In this case,
for short period of time, when OPP on MPU
was switched but lpj was not recalculated,
"udelay" function can provide incorrect
delay - upto 5 times shorter
(if OPP was switched from lowest to highest).

This patch changes lpj recalculation logic to:
if OPP will be switched to higher - recalculate lpj before switching OPP,
if OPP will be switched to lower - recalculate lpj after switching OPP.

Change-Id: I3258e756c471fd0258a849d712ab00f4e1279ea9
Signed-off-by: Sergii Postulga <x0153364@ti.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
block: row: this should be 2.

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