]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/timer-ti-dm: Drop unnecessary restore
authorTony Lindgren <tony@atomide.com>
Tue, 18 May 2021 07:53:06 +0000 (10:53 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Jun 2021 15:33:04 +0000 (17:33 +0200)
commit3d6b2e5cb34a78f8fc59cc94bc0707ccadad9466
tree9405c8fc1df1e38c424d875dd875f0109b3ea609
parent525794e3bba400de8b8c7e4548216293742dcdb8
clocksource/drivers/timer-ti-dm: Drop unnecessary restore

The device is not losing context on CPU_CLUSTER_PM_ERROR. As we are only
saving and restoring context with cpu_pm, there is no need to restore the
context in case of an error.

Note that the unnecessary restoring of context does not cause issues, it's
just not needed.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210518075306.35532-1-tony@atomide.com
drivers/clocksource/timer-ti-dm.c