]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/i2c/chips/tps65010.c
PM: Separate hibernation code from suspend code
[karo-tx-linux.git] / drivers / i2c / chips / tps65010.c
index 214fbb1423c5ba357adda0fa1cd14b1492aa5414..3c3f2ebf3fc9786eecf042ed4aa1d1ae9a56c9c3 100644 (file)
@@ -351,8 +351,10 @@ static void tps65010_interrupt(struct tps65010 *tps)
 #if 0
                        /* REVISIT:  this might need its own workqueue
                         * plus tweaks including deadlock avoidance ...
+                        * also needs to get error handling and probably
+                        * an #ifdef CONFIG_SOFTWARE_SUSPEND
                         */
-                       software_suspend();
+                       hibernate();
 #endif
                        poll = 1;
                }