Thread (8 messages) 8 messages, 4 authors, 2018-09-14

[PATCH] gpio: omap: Remove custom PM calls and use cpu_pm instead

From: tony@atomide.com (Tony Lindgren)
Date: 2018-09-12 00:41:02
Also in: linux-gpio, linux-omap

* Grygorii Strashko [off-list ref] [180912 00:33]:
On 09/11/2018 01:37 PM, Tony Lindgren wrote:
quoted
+	switch (cmd) {
+	case CPU_CLUSTER_PM_ENTER:
+		/* Gets cleard on runtime_suspend */
+		bank->power_mode = OFF_MODE;
It has to be reset somewhere.
Oh good catch omap_gpio_runtime_suspend() only clears it
if (bank->power_mode != OFF_MODE).. This would certainly
introduce some unexpected latencies..

We can just clear it unconditionally at the end of
CPU_CLUSTER_PM_ENTER handler now.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help