Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180Ab3HPIHl (ORCPT ); Fri, 16 Aug 2013 04:07:41 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:50955 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011Ab3HPIG3 convert rfc822-to-8bit (ORCPT ); Fri, 16 Aug 2013 04:06:29 -0400 MIME-Version: 1.0 Date: Fri, 16 Aug 2013 16:06:26 +0800 X-Google-Sender-Auth: iw4tt8b-b2QeA3RygG2v09uL1Ks Message-ID: Subject: System suspend states and device driver suspend() callback From: Li Yang To: linux-pm@vger.kernel.org, lkml Cc: "Rafael J. Wysocki" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 429 Lines: 14 Hi Guys, Is there a standard way for the device drivers to know if the system is going to “standby” mode or “mem” mode when the suspend() callbacks are called? Regards, Leo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/