]> 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 7ed92dc3d833304da757d7e99aed88023df232fc..3c3f2ebf3fc9786eecf042ed4aa1d1ae9a56c9c3 100644 (file)
@@ -354,7 +354,7 @@ static void tps65010_interrupt(struct tps65010 *tps)
                         * also needs to get error handling and probably
                         * an #ifdef CONFIG_SOFTWARE_SUSPEND
                         */
-                       pm_suspend(PM_SUSPEND_DISK);
+                       hibernate();
 #endif
                        poll = 1;
                }